• 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: App won't launch again after user quits, only in 10.3, because of a thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App won't launch again after user quits, only in 10.3, because of a thread?


  • Subject: Re: App won't launch again after user quits, only in 10.3, because of a thread?
  • From: Dave Keck <email@hidden>
  • Date: Wed, 28 Jan 2004 20:18:09 -0500

Since dealing with hardware is usually pretty low-level, I bet some call that your thread is making is the cause of the problem, somehow blocking the application from exiting.

I would suggest using the pthread functions to diagnose this problem. You can call pthread_exit on each of your threads to make sure they exit. If this solves the problem, you may wish to stick with using the pthread functions instead of NSThreads.

Otherwise I would go through your threads and comment out each line, then run your application and see if the problem still exists. If it doesn't, uncomment a line and run the application. Do this until the application doesn't work again, and you'll know what line(s) is/are causing the problem.

Hope this helps,

Dave
_______________________________________________
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: 
 >App won't launch again after user quits, only in 10.3, because of a thread? (From: "Crichlow, Eric" <email@hidden>)

  • Prev by Date: Re: Compatability issues with IE v5.2.3 as compared to v5, v5.2.1,v5.2.2 [Panther Issues]
  • Next by Date: Changing the Window level upon dragging.
  • Previous by thread: App won't launch again after user quits, only in 10.3, because of a thread?
  • Next by thread: Re: Strange NSString result from NSURL ?
  • Index(es):
    • Date
    • Thread