• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does CFRunLoop runs for every thread ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Obtaining Ethernet link speed
      • From: "Peter Sichel" <email@hidden>
  • Prev by Date: Re: Remote Access Connected Configuration
  • Next by Date: Re: Remote Access Connected Configuration
  • Previous by thread: Re: Does CFRunLoop runs for every thread ?
  • Next by thread: Obtaining Ethernet link speed
  • Index(es):
    • Date
    • Thread