Codebase list ruby-fxruby / run/3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream ext / fox16_c / gvl_wrappers.cpp
run/3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream

Tree @run/3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream (Download .tar.gz)

gvl_wrappers.cpp @run/3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstreamraw · history · blame

/*
 * gvl_wrappers.c - Wrapper functions for locking/unlocking the Ruby GVL
 *
 */

#include "FXRbCommon.h"

#ifdef HAVE___THREAD
  __thread int g_fxrb_thread_has_gvl = 1;
#endif

FOR_EACH_BLOCKING_FUNCTION( DEFINE_GVL_WRAPPER_STRUCT );
FOR_EACH_BLOCKING_FUNCTION( DEFINE_GVL_SKELETON );
FOR_EACH_BLOCKING_FUNCTION( DEFINE_GVL_STUB );