Ruby  2.5.0dev(2017-10-22revision60238)
Macros | Functions
thread.h File Reference
#include "ruby/intern.h"

Go to the source code of this file.

Macros

#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_AFTER   0x01
 
#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_
 

Functions

RUBY_SYMBOL_EXPORT_BEGIN 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)
 

Macro Definition Documentation

◆ RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_

#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_

Definition at line 34 of file thread.h.

◆ RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_AFTER

#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_AFTER   0x01

Definition at line 33 of file thread.h.

Function Documentation

◆ rb_thread_call_with_gvl()

RUBY_SYMBOL_EXPORT_BEGIN void* rb_thread_call_with_gvl ( void *(*)(void *)  func,
void *  data1 
)

◆ rb_thread_call_without_gvl()

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

Referenced by rb_getnameinfo().

◆ rb_thread_call_without_gvl2()

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

Definition at line 1422 of file thread.c.