|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
John --
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(). -- Chris ------------------ 6 Infinite Loop M/S 306-2MS Cupertino CA 95014 phone: (408) 974-4033 fax: (408) 862-7577 email: email@hidden |
_______________________________________________ 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
| References: | |
| >Making IOExitThread safe (From: "Baldwin, John" <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.