Re: Low-level equivalent of NSLock?
Re: Low-level equivalent of NSLock?
- Subject: Re: Low-level equivalent of NSLock?
- From: Pierre-Olivier Latour <email@hidden>
- Date: Wed, 13 Nov 2002 18:59:23 -0800
>
You could look at pthread_mutex_init, pthread_mutex_destroy,
>
pthread_mutex_lock, pthread_mutex_trylock, pthread_mutex_unlock.
>
Defined in the file 'pthread.h'. There are some issues with using posix
>
thread calls within cocoa, I thinks it's mainly to do with creating
>
threads, but you might want to check it out.
Thanks for the pointer, but how do you do the equivalent of lockBeforeTime
using pthread_mutex_xxx?
_____________________________________________________________
Pierre-Olivier Latour email@hidden
Palo Alto, USA
http://www.pol-online.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.