|
From: | Richard Frith-Macdonald |
Subject: | Re: Found deadlock bug |
Date: | Wed, 20 Feb 2002 19:48:33 +0000 |
On Wednesday, February 20, 2002, at 06:56 PM, Stephen Brandon wrote:
Hi, found the little scumbag of a bug, after spending all $%^&* day on it.It's in NSUser.m:579 - the global lock was not being released except in theexception handler. The patch: diff -r1.56 NSUser.m 578a579[gnustep_global_lock unlock];The bug manifested itself by causing the main thread to always hog the first lock in the NSRecursiveLock. Thus any time any other thread tried to do anoperation requiring gnustep_global_lock locking, it would deadlock.
Thanks very much for that one. Change committed to CVS.
[Prev in Thread] | Current Thread | [Next in Thread] |