• 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: Read-Write Lock is Available?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read-Write Lock is Available?


  • Subject: Re: Read-Write Lock is Available?
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Thu, 12 May 2011 13:15:32 -0500

On Thu, May 12, 2011 at 12:44 PM, Bing Li <email@hidden> wrote:
> I am writing concurrent code. I get used to the read-write lock on other
> development environment. However, according to the Threading Programming
> Guide from apple.com, Cocoa does not support the read-write lock? We can use
> it with POSIX threads? Is that true?

It is safe to use POSIX threads RW locks with Cocoa threads.

man pthread_rwlock_init
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Read-Write Lock is Available?
      • From: Bing Li <email@hidden>
References: 
 >Read-Write Lock is Available? (From: Bing Li <email@hidden>)

  • Prev by Date: Re: Read-Write Lock is Available?
  • Next by Date: Re: Read-Write Lock is Available?
  • Previous by thread: Re: Read-Write Lock is Available?
  • Next by thread: Re: Read-Write Lock is Available?
  • Index(es):
    • Date
    • Thread