1
0
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:
deadwood
2024-09-17 17:54:05 +02:00
parent 164104be87
commit a241c5fec0
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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);