|
Stardew Engine
|

Functions | |
| CrossPlatformThread | StartThread (ThreadFn threadFn, void *pUser) |
| Thread functions have return values as required by the OS thread libs but as the win32 thead returns a dword (32bit) and the pthread returns a void* (64 bit), so our abstraction just ignores return values. | |
| void | JoinThread (CrossPlatformThread pThread) |
| void | InitMutex (CrossPlatformMutex *pMtx) |
| void | DestroyMutex (CrossPlatformMutex *pMtx) |
| void | LockMutex (CrossPlatformMutex *pMtx) |
| void | UnlockMutex (CrossPlatformMutex *pMtx) |
| CrossPlatformThreadID | GetThisThreadsID () |
| void DestroyMutex | ( | CrossPlatformMutex * | pMtx | ) |
| pMtx |
| CrossPlatformThreadID GetThisThreadsID | ( | ) |
| void InitMutex | ( | CrossPlatformMutex * | pMtx | ) |
| pMtx |
| void JoinThread | ( | CrossPlatformThread | pThread | ) |
| void LockMutex | ( | CrossPlatformMutex * | pMtx | ) |
| pMtx |
| CrossPlatformThread StartThread | ( | ThreadFn | thread, |
| void * | pUser | ||
| ) |
Thread functions have return values as required by the OS thread libs but as the win32 thead returns a dword (32bit) and the pthread returns a void* (64 bit), so our abstraction just ignores return values.
| thread | |
| pUser |
| void UnlockMutex | ( | CrossPlatformMutex * | pMtx | ) |
| pMtx |