• 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: Writing on a common socket from multiple threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing on a common socket from multiple threads


  • Subject: Re: Writing on a common socket from multiple threads
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Wed, 1 Jun 2011 16:29:38 -0700

On 1 Jun 2011, at 15:49, Nathan Sims wrote:

> Does this mean that I can only make writev() calls on a common socket from a single thread, or is there some other issue at play?

My guess is that something else is at play here.  Sockets are thread-safe at this level, even without your spin lock.  That said, there are many other ways to die with an architecture like this.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


 _______________________________________________
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

  • Follow-Ups:
    • Re: Writing on a common socket from multiple threads
      • From: Nathan Sims <email@hidden>
References: 
 >Writing on a common socket from multiple threads (From: Nathan Sims <email@hidden>)

  • Prev by Date: Writing on a common socket from multiple threads
  • Next by Date: Re: Writing on a common socket from multiple threads
  • Previous by thread: Writing on a common socket from multiple threads
  • Next by thread: Re: Writing on a common socket from multiple threads
  • Index(es):
    • Date
    • Thread