Re: futexes on darwin?
Re: futexes on darwin?
- Subject: Re: futexes on darwin?
- From: Terry Lambert <email@hidden>
- Date: Thu, 3 Nov 2005 13:51:33 -0800
On Nov 3, 2005, at 9:32 AM, Cyrus Harmon wrote:
I'm not sure if this one for unix-porting or darwin-kernel, but I
have some software that uses futexes that I am interested in
porting to Darwin. Has anyone else had any experience in porting
futex-using code from Linux to Darwin?
It's more of a "unix-porting" question, but the answer is to convert
them to pthread_mutex_t's, if they are being used for implementing
mutexes, and counting semaphores/whatever, if they are being used for
that.
If you are only using them PTHREAD_PROCESS_PRIVATE anyway (the
default for pthreads), this is generally the best bet.
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden