On Thu, May 12, 2011 at 12:44 PM, Bing Li <[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to