Branch: Tag:

2001-10-22

2001-10-22 23:52:56 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bugs where the _disable_threads lock could fail to hold the
threads if there are threads dependent on uid or similar running when
the _disable_threads lock is requested. This bug could cause numerous
"Cannot wait for mutexes/conditions when threads are disabled"
backtraces when _disable_threads is used (e.g. through the Privs class
in Roxen). Cf [bug 1173 (#1173)].

Rev: src/modules/Java/jvm.c:1.36
Rev: src/signal_handler.c:1.193
Rev: src/threads.c:1.159
Rev: src/threads.h:1.113

1:   /* -  * $Id: threads.h,v 1.112 2001/08/29 17:13:21 mast Exp $ +  * $Id: threads.h,v 1.113 2001/10/22 23:52:54 mast Exp $    */   #ifndef THREADS_H   #define THREADS_H
672:   #define th_cleanup()   #define th_init_programs()   #define th_self() ((void*)0) + #define co_wait(X,Y)   #define co_signal(X)   #define co_broadcast(X)