[Openmcl-cvs-notifications] Commit: ccl/lisp-kernel
gb@clozure.com
gb at clozure.com
Sat May 6 02:09:31 MDT 2006
Affected files with versions:
thread_manager.c,1.62
-----------------------------------
Details:
Update of /usr/local/tmpcvs/openmcl-dev/ccl/lisp-kernel
In directory clozure.com:/tmp/cvs-serv94394/lisp-kernel
Modified Files:
thread_manager.c
Log Message:
Let's see: if thread X holds local A and tries to obtain lock B, and thread Y
holds lock B and tries to obtain lock A, what is that a classic case of ?
Try to avoid that classic deadlock case in shutdown_thread_tcr() when
HAVE_TLS is in effect. suspend_other_threads wants to hold two locks
at the same time, and that's always a bit dangerous; it might be safer to
merge TCR_LOCK and AREA_LOCK into a single lock that must be owned in order
to manipulate either the tcr or area queues.
More information about the Openmcl-cvs-notifications
mailing list