aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


client/runtime/linux_sync.h (437B)


      1 #ifndef LINUX_SYNC_H
      2 #define LINUX_SYNC_H
      3 #include "recomp_types.h"
      4 recomp_func_t linux_sync_lookup(const char *name);
      5 struct semaphore_handle;
      6 struct semaphore_handle *linux_sync_event_acquire(uint32_t handle);
      7 void linux_sync_event_release(struct semaphore_handle *event);
      8 void linux_sync_event_change(struct semaphore_handle *event, int signaled);
      9 int linux_sync_event_try_change(struct semaphore_handle *event, int signaled);
     10 #endif