• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Default Button heartBeat bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Default Button heartBeat bug
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Close a alert sheet programatically
  • Next by Date: Re: Close a alert sheet programatically
  • Previous by thread: Re: #ifdef/build style question
  • Next by thread: Re: Default Button heartBeat bug
  • Index(es):
    • Date
    • Thread