Re: Does CFRunLoop runs for every thread ?
Re: Does CFRunLoop runs for every thread ?
- Subject: Re: Does CFRunLoop runs for every thread ?
- From: Pranav Kumar Sahu <email@hidden>
- Date: Wed, 23 Apr 2003 13:03:52 +0530
>
Every thread has a runloop. The runloop only runs if you tell it to,
>
typically by calling CFRunLoopRun. If you need to start a thread
>
that runs a runloop, just have the thread's main entry point call
>
CFRunLoopRun.
I am using CFRunLoop for Asynchronous on CFSockets. I have implemented in a
lib that provides this mechanism. It should behave same for all clients
irrespective of single or multi-thread clients.That's what I thought. Now I
am in a situation where for MT client to my lib, I need to run RunLoop
manually. Otherwise I have to provide some function that will do the stuff.
So my lib need to know about the clients.
Rgds
Pranav Kumar Sahu
_______________________________________________
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.