3 libbasetype struct ThreadBase
4 rootbase_field rootbase
9 #include <libraries/thread.h>
14 #include "thread_intern.h"
18 uint32_t CreateThread(ThreadEntryFunction entry, void *data) (A0,A1)
19 BOOL WaitThread(uint32_t thread_id, void **result) (D0,A0)
20 void WaitAllThreads() ()
21 BOOL DetachThread(uint32_t thread_id) (D0)
22 uint32_t CurrentThread() ()
23 void *CreateMutex() ()
24 BOOL DestroyMutex(void *mutex) (A0)
25 void LockMutex(void *mutex) (A0)
26 BOOL TryLockMutex(void *mutex) (A0)
27 void UnlockMutex(void *mutex) (A0)
28 void *CreateCondition() ()
29 BOOL DestroyCondition(void *cond) (A0)
30 BOOL WaitCondition(void *cond, void *mutex) (A0,A1)
31 void SignalCondition(void *cond) (A0)
32 void BroadcastCondition(void *cond) (A0)
33 void ExitThread(void *result) (A0)