12 #if !defined(ZFORCE_OSABSTRACTIONLAYER_H) && !defined(CONTAINS_OSABSTRACTIONLAYER) 14 #ifndef ZFORCECOMMON_H 15 #error Please include "zForceCommon.h" before this file. 16 #endif // ZFORCECOMMON_H 45 #endif // !defined(ZFORCE_OSABSTRACTIONLAYER_H) && !defined(CONTAINS_OSABSTRACTIONLAYER) 46 #if !defined(ZFORCE_OSABSTRACTIONLAYER_H) || defined(CONTAINS_OSABSTRACTIONLAYER) 60 void * ( * Malloc)(
size_t size);
71 void ( * Free)(
void * memoryPointer);
87 void * ( * Realloc)(
void * memoryPointer,
size_t size);
103 void * ( * MallocWithPattern)(
size_t size, uint8_t pattern);
184 bool ( * InitializeSemaphore)
249 uint64_t ( * GetTimeMilliSeconds)(void);
268 void ( * entryPoint)(
void *),
297 void ( * Sleep)(uint32_t milliSeconds);
298 #endif // !defined(ZFORCE_OSABSTRACTIONLAYER_H) || defined(CONTAINS_OSABSTRACTIONLAYER) 299 #if !defined(ZFORCE_OSABSTRACTIONLAYER_H) && !defined(CONTAINS_OSABSTRACTIONLAYER) 305 #endif // __cplusplus 307 DLLINTERNAL
bool OsAbstractionLayer_Initialize (
OsAbstractionLayer * osAbstractionLayer,
314 #endif // __cplusplus 316 #define ZFORCE_OSABSTRACTIONLAYER_H 317 #endif // !defined(ZFORCE_OSABSTRACTIONLAYER_H) && !defined(CONTAINS_OSABSTRACTIONLAYER) void zForceMutex
Typecast to underlying (system) type.
Definition: OsAbstractionLayer.h:18
void * Arguments
Arguments for the entry function.
Definition: OsAbstractionLayer.h:33
void(* EntryPoint)(void *)
Entry function for the thread.
Definition: OsAbstractionLayer.h:32
Overrides for OS Functions.
Definition: OsAbstractionLayer.h:43
void zForceSemaphore
Typecast to underlying (system) type.
Definition: OsAbstractionLayer.h:19
Wrapper for threads.
Definition: OsAbstractionLayer.h:29
void zForceThread
Typecast to underlying (system) type.
Definition: OsAbstractionLayer.h:20
zForceThread * zForceThread
Thread pointer.
Definition: OsAbstractionLayer.h:31