On Dec 6, 2011, at 9:07 PM, koko wrote: > I cannot use NSLock as this is in a BSD Static lib and I am required to > implement as close to windows as possible.
There's no general prohibition against using Cocoa in a static library. I also pointed you to pthread's mutex as an alternative. Also, if you aren't allowed to use Cocoa, then don't post your question to the Cocoa-Dev mailing list. Regards, Ken _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com