pike.git/
src/
error.c
Branch:
Tag:
Non-build tags
All tags
No tags
2013-08-14
2013-08-14 09:23:42 by Marcus Comstedt <marcus@mc.pp.se>
9d8034a1eed7721118cb70edf01cc0f9bf71c391 (
5
lines) (+
5
/-
0
)
[
Show
|
Annotate
]
Branch:
7.9
Runtime: Fix references to threads_disabled if no threads
515:
* evaluator stuff while we let the master describe the backtrace * below. Doing it the naughty way without going through * init_threads_disable etc to avoid hanging on runaway locks. */
+
#ifdef PIKE_THREADS
threads_disabled++;
-
+
#endif
MEMSET (&evaluator_callbacks, 0, sizeof (evaluator_callbacks)); if (SETJMP (jmp)) fprintf(stderr,"Got exception when trying to describe backtrace.\n");
527:
write_to_stderr(Pike_sp[-1].u.string->str, Pike_sp[-1].u.string->len); } UNSETJMP (jmp);
+
#ifdef PIKE_THREADS
threads_disabled--;
-
+
#endif
evaluator_callbacks = saved_eval_cbs; }else{ fprintf(stderr,"No stack - no backtrace.\n");