Ruby  2.1.10p492(2016-04-01revision54464)
thread_native.h
Go to the documentation of this file.
1 #ifndef RUBY_THREAD_NATIVE_H
2 #define RUBY_THREAD_NATIVE_H
3 
4 #if defined(_WIN32)
5 #include "thread_win32.h"
6 #elif defined(HAVE_PTHREAD_H)
7 #include "thread_pthread.h"
8 #else
9 #error "unsupported thread type"
10 #endif
11 
13 
15 
20 
22 
23 #endif
RUBY_SYMBOL_EXPORT_BEGIN rb_nativethread_id_t rb_nativethread_self()
void rb_nativethread_lock_unlock(rb_nativethread_lock_t *lock)
Definition: thread.c:298
void rb_nativethread_lock_initialize(rb_nativethread_lock_t *lock)
Definition: thread.c:280
pthread_mutex_t rb_nativethread_lock_t
pthread_t rb_nativethread_id_t
#define RUBY_SYMBOL_EXPORT_END
Definition: missing.h:39
#define RUBY_SYMBOL_EXPORT_BEGIN
Definition: missing.h:38
void rb_nativethread_lock_lock(rb_nativethread_lock_t *lock)
Definition: thread.c:292
void rb_nativethread_lock_destroy(rb_nativethread_lock_t *lock)
Definition: thread.c:286