|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Do you really need another thread to do work on, or do you just need a thread to do work on? If you don't care which thread and you don't need to do things in a synchronous fashion, you can simply create your own IOEventSource subclass and use the signalWorkAvailable()/checkForWork() paradigm. Attach the event source to the workloop, enabled it, and when you need to do stuff, call signalWorkAvailable().
6 Infinite Loop
Cupertino CA 95014
phone: (408) 974-4033
fax: (408) 862-7577
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-drivers mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
|>Making IOExitThread safe (From: "Baldwin, John" <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.