pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:425:    self = th_self();    if (!th_equal (debug_locking_thread, self))    pike_fatal_dloc ("Interpreter not locked by this thread.\n");    }   }      static unsigned LONGEST thread_swaps = 0;   static unsigned LONGEST check_threads_calls = 0;   static unsigned LONGEST check_threads_yields = 0;   static unsigned LONGEST check_threads_swaps = 0; - static void f__thread_swaps (INT32 args) + static void f__thread_swaps (INT32 UNUSED(args))    {push_ulongest (thread_swaps);} - static void f__check_threads_calls (INT32 args) + static void f__check_threads_calls (INT32 UNUSED(args))    {push_ulongest (check_threads_calls);} - static void f__check_threads_yields (INT32 args) + static void f__check_threads_yields (INT32 UNUSED(args))    {push_ulongest (check_threads_yields);} - static void f__check_threads_swaps (INT32 args) + static void f__check_threads_swaps (INT32 UNUSED(args))    {push_ulongest (check_threads_swaps);}      #else      #define SET_LOCKING_THREAD 0   #define UNSET_LOCKING_THREAD 0      #endif      PMOD_EXPORT INLINE void pike_low_lock_interpreter (DLOC_DECL)