rtengine/src/runtime/threading.h
Kevin Trogant 81798df3e9 ref, feat: Restructure
- The renderer backend is now its own library, loaded at runtime.
- Removed GLFW dependency, instead use win32 directly.
- Broke linux window creation, because it's not implemented yet.
  - Maybe use GLFW for linux?
2023-10-17 00:54:51 +02:00

21 lines
370 B
C

#ifndef VY_THREADING_H
#define VY_THREADING_H
/* platform independent threading */
#include <stdbool.h>
#include "runtime.h"
typedef struct vy_mutex_s vy_mutex;
VY_DLLEXPORT vy_mutex *vyCreateMutex(void);
VY_DLLEXPORT void vyDestroyMutex(vy_mutex *mutex);
VY_DLLEXPORT bool vyLockMutex(vy_mutex *mutex);
VY_DLLEXPORT bool vyUnlockMutex(vy_mutex *mutex);
#endif