12 #ifndef ZFORCE_OSABSTRACTIONLAYER_H 13 #define ZFORCE_OSABSTRACTIONLAYER_H 15 #ifndef ZFORCECOMMON_H 16 #error Please include "zForceCommon.h" before this file. 17 #endif // ZFORCECOMMON_H 59 void * ( * Malloc)(
size_t size);
70 void ( * Free)(
void * memoryPointer);
86 void * ( * Realloc)(
void * memoryPointer,
size_t size);
102 void * ( * MallocWithPattern)(
size_t size, uint8_t pattern);
183 bool ( * InitializeSemaphore)
248 uint64_t ( * GetTimeMilliSeconds)(void);
267 void ( * entryPoint)(
void *),
296 void ( * Sleep)(uint32_t milliSeconds);
299 DLLINTERNAL
bool OsAbstractionLayer_Initialize (
303 DLLINTERNAL
void OsAbstractionLayer_ThreadWrapper (
306 #endif // ZFORCE_OSABSTRACTIONLAYER_H void zForceMutex
Typecast to underlying (system) type.
Definition: OsAbstractionLayer.h:19
void * Arguments
Arguments for the entry function.
Definition: OsAbstractionLayer.h:34
void(* EntryPoint)(void *)
Entry function for the thread.
Definition: OsAbstractionLayer.h:33
Overrides for OS Functions.
Definition: OsAbstractionLayer.h:44
void zForceSemaphore
Typecast to underlying (system) type.
Definition: OsAbstractionLayer.h:20
Wrapper for threads.
Definition: OsAbstractionLayer.h:30
void zForceThread
Typecast to underlying (system) type.
Definition: OsAbstractionLayer.h:21
zForceThread * zForceThread
Thread pointer.
Definition: OsAbstractionLayer.h:32