Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/alt/ruby27/include/ruby
File: thread.h
/**********************************************************************
[0] Fix | Delete
[1] Fix | Delete
thread.h -
[2] Fix | Delete
[3] Fix | Delete
$Author: matz $
[4] Fix | Delete
created at: Tue Jul 10 17:35:43 JST 2012
[5] Fix | Delete
[6] Fix | Delete
Copyright (C) 2007 Yukihiro Matsumoto
[7] Fix | Delete
[8] Fix | Delete
**********************************************************************/
[9] Fix | Delete
[10] Fix | Delete
#ifndef RUBY_THREAD_H
[11] Fix | Delete
#define RUBY_THREAD_H 1
[12] Fix | Delete
[13] Fix | Delete
#if defined(__cplusplus)
[14] Fix | Delete
extern "C" {
[15] Fix | Delete
#if 0
[16] Fix | Delete
} /* satisfy cc-mode */
[17] Fix | Delete
#endif
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
#include "ruby/intern.h"
[21] Fix | Delete
[22] Fix | Delete
/* flags for rb_nogvl */
[23] Fix | Delete
#define RB_NOGVL_INTR_FAIL (0x1)
[24] Fix | Delete
#define RB_NOGVL_UBF_ASYNC_SAFE (0x2)
[25] Fix | Delete
[26] Fix | Delete
RUBY_SYMBOL_EXPORT_BEGIN
[27] Fix | Delete
[28] Fix | Delete
void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
[29] Fix | Delete
[30] Fix | Delete
void *rb_thread_call_without_gvl(void *(*func)(void *), void *data1,
[31] Fix | Delete
rb_unblock_function_t *ubf, void *data2);
[32] Fix | Delete
void *rb_thread_call_without_gvl2(void *(*func)(void *), void *data1,
[33] Fix | Delete
rb_unblock_function_t *ubf, void *data2);
[34] Fix | Delete
[35] Fix | Delete
/*
[36] Fix | Delete
* XXX: unstable/unapproved - out-of-tree code should NOT not depend
[37] Fix | Delete
* on this until it hits Ruby 2.6.1
[38] Fix | Delete
*/
[39] Fix | Delete
void *rb_nogvl(void *(*func)(void *), void *data1,
[40] Fix | Delete
rb_unblock_function_t *ubf, void *data2,
[41] Fix | Delete
int flags);
[42] Fix | Delete
[43] Fix | Delete
#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_AFTER 0x01
[44] Fix | Delete
#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_
[45] Fix | Delete
[46] Fix | Delete
RUBY_SYMBOL_EXPORT_END
[47] Fix | Delete
[48] Fix | Delete
#if defined(__cplusplus)
[49] Fix | Delete
#if 0
[50] Fix | Delete
{ /* satisfy cc-mode */
[51] Fix | Delete
#endif
[52] Fix | Delete
} /* extern "C" { */
[53] Fix | Delete
#endif
[54] Fix | Delete
[55] Fix | Delete
#endif /* RUBY_THREAD_H */
[56] Fix | Delete
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function