Default Button heartBeat bug
Default Button heartBeat bug
- Subject: Default Button heartBeat bug
- From: Dominic Feira <email@hidden>
- Date: Thu, 6 Jan 2005 14:44:07 -0500
I have been bitten by the default button heartBeat bug. I did some
searching and it seems that this is a rather common problem, yet hard
(impossible) to fix.
Why in the world is the heartBeat running in a separate thread in the
first place? If you click on a menu or a button it stops anyway. It'd
be much safer if it were on the main thread with a timer.
I had some code that operated similary to the heartBeat and it too
crashed every once in a while, so I put it on a timer in the main
thread and it has been trouble free since. It is well known that the
AppKit is NOT thread-safe, yet apple has basic AppKit functionality
running multithreaded. Reports of this problem date back years and yet
it still isn't fixed. What gives?
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden