Typedefs | |
| typedef void * | MFThread |
| Represents a Fuji Thread. | |
| typedef void * | MFMutex |
| Represents a Fuji Mutex. | |
| typedef void * | MFSemaphore |
| Represents a Fuji Semaphore. | |
| typedef int(* | MFThreadEntryPoint )(void *) |
| Thread entry point function. | |
Enumerations | |
| enum | MFThreadPriority { MFPriority_Maximum = 10, MFPriority_AboveNormal = 6, MFPriority_Normal = 5, MFPriority_BelowNormal = 4, MFPriority_Low = 2, MFPriority_Idle = 0, MFPriority_ForceInt = 0x7FFFFFFF } |
| Thread priority. More... | |
Functions | |
| MFThread | MFThread_CreateThread (const char *pName, MFThreadEntryPoint pEntryPoint, void *pUserData, int priority, uint32 stackSize) |
| Create and start a new thread. | |
| void | MFThread_ExitThread (int exitCode) |
| Exit from the current thread. | |
| void | MFThread_TerminateThread (MFThread thread) |
| Terminate a thread. | |
| int | MFThread_GetExitCode (MFThread thread) |
| Get a threads exit code. | |
| void | MFThread_DestroyThread (MFThread thread) |
| Destroy a thread. | |
| MFMutex | MFThread_CreateMutex (const char *pName) |
| Create a mutex object. | |
| void | MFThread_DestroyMutex (MFMutex mutex) |
| Destroy a mutex object. | |
| void | MFThread_LockMutex (MFMutex mutex) |
| Lock a mutex object. | |
| void | MFThread_ReleaseMutex (MFMutex mutex) |
| Release a mutex object. | |
| MFSemaphore | MFThread_CreateSemaphore (const char *pName, int maxCount, int startCount) |
| Create a semaphore object. | |
| void | MFThread_DestroySemaphore (MFSemaphore semaphore) |
| Destroy a semaphore object. | |
| uint32 | MFThread_WaitSemaphore (MFSemaphore semaphore) |
| Wait on a semaphore object. | |
| void | MFThread_SignalSemaphore (MFSemaphore semaphore) |
| Signal a semaphore object. | |
1.4.5