mirror of
https://github.com/deadw00d/AROS.git
synced 2026-03-18 01:53:01 +00:00
Adjust to AROS pthread structure
This commit is contained in:
@ -124,7 +124,7 @@ static int __m68k_sync_lock_test_and_set(int *v, int n)
|
||||
#define __sync_lock_release(v) __m68k_sync_lock_test_and_set(v, 0)
|
||||
#endif
|
||||
|
||||
static BOOL OpenTimerDevice(struct IORequest *io, struct MsgPort *mp, struct Task *task)
|
||||
BOOL OpenTimerDevice(struct IORequest *io, struct MsgPort *mp, struct Task *task)
|
||||
{
|
||||
BYTE signal;
|
||||
|
||||
@ -163,7 +163,7 @@ static BOOL OpenTimerDevice(struct IORequest *io, struct MsgPort *mp, struct Tas
|
||||
#endif
|
||||
}
|
||||
|
||||
static void CloseTimerDevice(struct IORequest *io)
|
||||
void CloseTimerDevice(struct IORequest *io)
|
||||
{
|
||||
struct MsgPort *mp;
|
||||
|
||||
|
||||
@ -140,3 +140,7 @@ extern int _pthread_cond_broadcast(pthread_cond_t *cond, BOOL onlyfirst);
|
||||
|
||||
/* .c */
|
||||
extern int _pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr, BOOL staticinit);
|
||||
|
||||
/* .c */
|
||||
extern BOOL OpenTimerDevice(struct IORequest *io, struct MsgPort *mp, struct Task *task);
|
||||
extern void CloseTimerDevice(struct IORequest *io);
|
||||
|
||||
Reference in New Issue
Block a user