Codebase list ruby-fxruby / f762db3d-88aa-4cf6-acc2-33e3fa65a958/upstream/1.6.45+git20230102.1.821f5a9 ext / fox16_c / gvl_wrappers.cpp
f762db3d-88aa-4cf6-acc2-33e3fa65a958/upstream/1.6.45+git20230102.1.821f5a9

Tree @f762db3d-88aa-4cf6-acc2-33e3fa65a958/upstream/1.6.45+git20230102.1.821f5a9 (Download .tar.gz)

gvl_wrappers.cpp @f762db3d-88aa-4cf6-acc2-33e3fa65a958/upstream/1.6.45+git20230102.1.821f5a9raw · 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 );