On Sunday, December 8, 2002, at 02:13 pm, Philip Derrin wrote:
Hi,
When trying to use -performSelectorOnMainThread:withObject:
waitUntilDone:, I get the following error message:
"Uncaught exception NSConditionLockException, reason: Thread attempted to
recursively lock"
Apparently there's a race condition in GSPerformHolder. As soon as it
unlocks its condition lock in -fire, the other thread gets the lock and
releases the GSPerformHolder, which then tries to acquire the lock again
in -dealloc.
The attached patch to [GSPerformHolder fire] in NSThread.m should fix it.
Thanks, I applied your fix.
_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
