summaryrefslogtreecommitdiff
path: root/include/ruby/thread.h
diff options
context:
space:
mode:
-rw-r--r--include/ruby/thread.h13
1 files changed, 13 insertions, 0 deletions
@@ -191,6 +191,19 @@ void *rb_nogvl(void *(*func)(void *), void *data1,
#define RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS_
/**
* Triggered when a new thread is started.
*
* @note The callback will be called *without* the GVL held.