Branch: Tag:

2001-10-22

2001-10-22 23:54:47 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.18
Rev: src/threads.c:1.120
Rev: src/threads.h:1.81

1:   /* -  * $Id: threads.h,v 1.80 2000/08/06 14:39:33 grubba Exp $ +  * $Id: threads.h,v 1.81 2001/10/22 23:54:43 mast Exp $    */   #ifndef THREADS_H   #define THREADS_H
623:   #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)