8 #ifndef AZ_PAL_OS_API_H 9 #define AZ_PAL_OS_API_H 11 #include "azure_macro_utils/macro_utils.h" 12 #include "umock_c/umock_c_prod.h" 14 #include "az_pal_os.h" void az_pal_os_lock_acquire(AZ_PAL_OS_LOCK *lock)
Acquires a lock on the given lock handle. Uses platform specific mutex primitives in its implementati...
void az_pal_os_lock_init(AZ_PAL_OS_LOCK *lock)
This API initialize and returns a valid lock handle.
void az_pal_os_lock_release(AZ_PAL_OS_LOCK *lock)
Releases the lock on the given lock handle. Uses platform specific mutex primitives in its implementa...
void az_pal_os_lock_deinit(AZ_PAL_OS_LOCK *lock)
The lock instance is destroyed.
pointer to a platform specific struct for a lock implementation