Send clisp-cvs mailing list submissions to
clisp-cvs@...
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
clisp-cvs-request@...
You can reach the person managing the list at
clisp-cvs-owner@...
When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."
CLISP CVS commits for today
Today's Topics:
1. clisp/src ChangeLog,1.7266,1.7267 zthread.d,1.82,1.83
(Vladimir Tzankov)
----------------------------------------------------------------------
Message: 1
Date: Sun, 28 Feb 2010 18:18:30 +0000
From: Vladimir Tzankov <vtz@...>
Subject: clisp/src ChangeLog,1.7266,1.7267 zthread.d,1.82,1.83
To: clisp-cvs@...
Message-ID: <E1Nlnio-0003id-Vk@...>
Update of /cvsroot/clisp/clisp/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv14211/src
Modified Files:
ChangeLog zthread.d
Log Message:
(xlock_unlock_helper): signal lock's condition variable before unlocking internal mutex
Index: zthread.d
===================================================================
RCS file: /cvsroot/clisp/clisp/src/zthread.d,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- zthread.d 27 Feb 2010 18:23:33 -0000 1.82
+++ zthread.d 28 Feb 2010 18:18:28 -0000 1.83
@@ -1065,8 +1065,8 @@
l->xl_owned = false;
if (unlock_real)
xmutex_raw_unlock(&l->xl_mutex);
- xmutex_raw_unlock(&l->xl_internal_mutex); /* before signal */
xcondition_signal(&l->xl_wait_cv);
+ xmutex_raw_unlock(&l->xl_internal_mutex);
}
return 0;
}
Index: ChangeLog
===================================================================
RCS file: /cvsroot/clisp/clisp/src/ChangeLog,v
retrieving revision 1.7266
retrieving revision 1.7267
diff -u -d -r1.7266 -r1.7267
--- ChangeLog 27 Feb 2010 18:28:48 -0000 1.7266
+++ ChangeLog 28 Feb 2010 18:18:27 -0000 1.7267
@@ -1,3 +1,9 @@
+2010-02-28 Vladimir Tzankov <vtzankov@...>
+
+ * zthread.d (xlock_unlock_helper): signal lock's condition variable
+ before unlocking internal mutex. fixes possible deadlock if signal is
+ missed
+
2010-02-27 Vladimir Tzankov <vtzankov@...>
* spvw_garcol.d (gar_col_normal) [MULTITHREAD]: mark active threads
------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
------------------------------
_______________________________________________
clisp-cvs mailing list
clisp-cvs@...
https://lists.sourceforge.net/lists/listinfo/clisp-cvs
End of clisp-cvs Digest, Vol 47, Issue 1
****************************************
|