• 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: Crashes in CFReadStreamRead()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashes in CFReadStreamRead()


  • Subject: Re: Crashes in CFReadStreamRead()
  • From: John Iarocci <email@hidden>
  • Date: Thu, 6 Oct 2005 10:11:01 -0700


On Oct 05, 2005, at 7:01 AM, Rich Siegel wrote:

Is it possible that running CFNetwork synchronously on multiple threads

is a bad idea? Could there be a bug in CFNetwork or CFRunLoop in which a

shared data structure is being mangled? Do I have a bug? (Always a

possibility.)


Running CFNetwork synchronously on multiple threads is supported as long as you are not using the same CFStream. If you are using the same stream on multiple threads, you will need to lock around your synchronous calls to prevent accessing the same object on multiple threads (similar to a POSIX file stream -- FILE *).

John Iarocci
CoreServices Mgr
Apple Computer, Inc.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Crashes in CFReadStreamRead() (From: Rich Siegel <email@hidden>)

  • Prev by Date: List Terms and Conditions
  • Next by Date: Fwd: Crashes in CFReadStreamRead()
  • Previous by thread: Crashes in CFReadStreamRead()
  • Next by thread: Fwd: Crashes in CFReadStreamRead()
  • Index(es):
    • Date
    • Thread