RE: Is it thread safe ?
RE: Is it thread safe ?
- Subject: RE: Is it thread safe ?
- From: Quinn <email@hidden>
- Date: Thu, 10 Apr 2003 10:44:14 +0100
At 11:07 +0530 10/4/03, Pranav Kumar Sahu wrote:
Is this the right approach what I am thinking ?
When working with CF stuff, it's important to remember that each
thread has its own run loop, and that when you install a CF event
source into a run loop, the callbacks will always be called by that
run loop.
Which means that the following isn't true...
Since I have CFRunLoop, I don't need to know which thread's callback will
get called when data arrives right ?
The thread that calls the callback is always the thread whose run
loop you installed the event source into.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.