• 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: Is it thread safe ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >RE: Is it thread safe ? (From: Pranav Kumar Sahu <email@hidden>)

  • Prev by Date: Re: Getting ethernet/mac address's
  • Next by Date: Re: Creating multiple OT Contexts
  • Previous by thread: RE: Is it thread safe ?
  • Next by thread: RE: Is it thread safe ?
  • Index(es):
    • Date
    • Thread