Files
2025-08-03 15:08:01 -04:00

16 lines
428 B
C

#pragma once
#include "core/gryphn_return_code.h"
#include "utils/lists/gryphn_array_list.h"
#include "gryphn_handles.h"
#ifdef GN_REVEAL_IMPL
struct gnSemaphore_t {
struct gnPlatformSemaphore_t* semaphore;
gnOutputDeviceHandle device;
};
#endif
gnReturnCode gnCreateSemaphore(gnSemaphore* semaphore, struct gnOutputDevice_t* device);
void gnDestroySemaphore(gnSemaphore semaphore);
GN_ARRAY_LIST_HEADER(gnSemaphore);