Re: App won't launch again after user quits, only in 10.3, because of a thread?
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.