pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:753: Inside #if defined(PIKE_DEBUG)
   pike_fatal_dloc ("Threads allowed while the global dynamic buffer "    "is in use.\n");    ts->debug_flags |= THREAD_DEBUG_LOOSE;   #endif       if (num_threads > 1 && !threads_disabled) {    pike_swap_out_thread (ts COMMA_DLOC_ARGS_OPT);    pike_unlock_interpreter (DLOC_ARGS_OPT);    }    - #if defined (PIKE_DEBUG) && !(defined(__ia64) && defined(__xlc__)) + #if defined (PIKE_DEBUG)    else { -  /* Disabled in xlc 5.5.0.0/ia64 due to a code generation bug. */ +     THREAD_T self = th_self();    if (threads_disabled && !th_equal(threads_disabled_thread, self))    pike_fatal_dloc ("Threads allowed from a different thread "    "while threads are disabled. "    "(self: %"PRINTSIZET"x, disabler: %"PRINTSIZET"x)\n",    (size_t) self, (size_t) threads_disabled_thread);    }   #endif   }   
pike.git/src/threads.c:830:    ts->debug_flags |= THREAD_DEBUG_LOOSE;   #endif       if (num_threads > 1 && !threads_disabled) {    pike_swap_out_thread (ts COMMA_DLOC_ARGS_OPT);    live_threads++;    THREADS_FPRINTF (1, "Increased live threads to %d\n", live_threads);    pike_unlock_interpreter (DLOC_ARGS_OPT);    }    - #if defined (PIKE_DEBUG) && !(defined(__ia64) && defined(__xlc__)) + #if defined (PIKE_DEBUG)    else { -  /* Disabled in xlc 5.5.0.0/ia64 due to a code generation bug. */ +     THREAD_T self = th_self();    if (threads_disabled && !th_equal(threads_disabled_thread, self))    pike_fatal_dloc ("Threads allowed from a different thread "    "while threads are disabled. "    "(self: %"PRINTSIZET"x, disabler: %"PRINTSIZET"x)\n",    (size_t) self, (size_t) threads_disabled_thread);    }   #endif   }