Ruby
2.1.3p242(2014-09-19revision47630)
Main Page
Modules
Data Structures
Files
File List
Globals
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
12
RUBY_SYMBOL_EXPORT_BEGIN
13
14
rb_nativethread_id_t
rb_nativethread_self
();
15
16
void
rb_nativethread_lock_initialize
(
rb_nativethread_lock_t
*lock);
17
void
rb_nativethread_lock_destroy
(
rb_nativethread_lock_t
*lock);
18
void
rb_nativethread_lock_lock
(
rb_nativethread_lock_t
*lock);
19
void
rb_nativethread_lock_unlock
(
rb_nativethread_lock_t
*lock);
20
21
RUBY_SYMBOL_EXPORT_END
22
23
#endif
24
Generated on Mon Sep 22 2014 11:05:39 for Ruby by
1.8.2