• 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
Re: Mystery thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mystery thread


  • Subject: Re: Mystery thread
  • From: "A.M." <email@hidden>
  • Date: Fri, 28 Mar 2003 12:02:08 -0500

A quick question: Do all the widgets that do that sort of thing open separate threads or are they capable of sharing one extra one? I noticed the same happens with progress bars, etc.

On Friday, Mar 28, 2003, at 11:44 US/Eastern, Stiphane Sudre wrote:

Friday 28 March 2003, ` 05:08 PM, Bob Peterson a icrit :

I've written a document app that creates two threads for each document. When the doc closes, the threads terminate. But an extra thread sometimes appears. I don't know what it is. Is it part of the DO class system, or have I failed to clean up my threads properly? Here is its stack trace:

#0 0x9003eaa8 in semaphore_wait_signal_trap
#1 0x9003e8c4 in pthread_cond_wait
#2 0x90824180 in -[NSConditionLock lockWhenCondition:]
#3 0x93081388 in -[NSUIHeartBeat _heartBeatThread:]
#4 0x9081cd38 in forkThreadForFunction
#5 0x90020d48 in bootstrap_status

AFAIK, this thread is used for instance to make the default button throb.

I have occasionally seen this thread cause crash with applications. It can also make application hang.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


><><><><><><><><><
AgentM
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Mystery thread (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Mystery thread
  • Next by Date: Re: Creating a string with attachements from thin air... and an image...
  • Previous by thread: Re: Mystery thread
  • Next by thread: NSPreferencePane shouldUnselect, repeated invocation?
  • Index(es):
    • Date
    • Thread