Ruby  2.0.0p247(2013-06-27revision41674)
Defines | Functions
include/ruby/thread.h File Reference
#include "ruby/intern.h"

Go to the source code of this file.

Defines

#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_AFTER   0x01
#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_

Functions

void * rb_thread_call_with_gvl (void *(*func)(void *), void *data1)
void * rb_thread_call_without_gvl (void *(*func)(void *), void *data1, rb_unblock_function_t *ubf, void *data2)
void * rb_thread_call_without_gvl2 (void *(*func)(void *), void *data1, rb_unblock_function_t *ubf, void *data2)

Define Documentation

Definition at line 36 of file thread.h.

Definition at line 35 of file thread.h.


Function Documentation

void* rb_thread_call_with_gvl ( void *(*)(void *)  func,
void *  data1 
)
void* rb_thread_call_without_gvl ( void *(*)(void *)  func,
void *  data1,
rb_unblock_function_t ubf,
void *  data2 
)
void* rb_thread_call_without_gvl2 ( void *(*)(void *)  func,
void *  data1,
rb_unblock_function_t ubf,
void *  data2 
)

Definition at line 1317 of file thread.c.

References call_without_gvl(), func, and TRUE.

Referenced by io_flush_buffer_async2(), and rb_write_internal2().