25
25
typedef HANDLE rb_thread_id_t;
26
26
typedef CRITICAL_SECTION rb_thread_lock_t;
28
29
int native_mutex_lock(rb_thread_lock_t *);
29
30
int native_mutex_unlock(rb_thread_lock_t *);
30
31
int native_mutex_trylock(rb_thread_lock_t *);
31
32
void native_mutex_initialize(rb_thread_lock_t *);
33
40
typedef struct native_thread_data_struct {