RE: Patch to DorothyLocker
"Garth T Kidd" <garth-OnzZ1s1DREKDegMON/[email protected]> Wed, 22 Sep 2004 11:17:40 +1000
| Newsgroups | gmane.comp.pythin.pyds.devel |
|---|---|
| Organization | Deadly Bloody Serious |
| Message-ID | <[email protected]> |
I'll have to re-test. I can't incorporate the patches as-is because they're broken: Rlocks can be locked multiple times by the same thread, and your added lockContext attributes bypass my stack of lock details. -----Original Message----- From: pyds-dev-admin-iYtK5bfT9M//Ad8WF/[email protected] [mailto:pyds-dev-admin-iYtK5bfT9M//Ad8WF/[email protected]] On Behalf Of Thomas Klaeger Sent: Monday, 20 September 2004 8:41 PM To: pyds-dev-iYtK5bfT9M//Ad8WF/[email protected] Subject: [Pyds-dev] Patch to DorothyLocker DorothyLocker raised exceptions if a lock was held by another task. In this case the lockContext and lockTime was not defined although it should have been. Additionally it whined about unable to lock long after the lock had been acquired due to the LockWhiner not checking if it has been stopped before whining.