Re: fork and pthreads
Re: fork and pthreads
- Subject: Re: fork and pthreads
- From: "Stephen J. Butler" <email@hidden>
- Date: Sun, 17 Nov 2013 20:28:19 -0600
A quick google suggests this way:
Differences from yours:
* shared memory between processes
* attribute of PTHREAD_PROCESS_SHARED
* no need to lock/unlock
That method makes 100% sense to me. Where did you hear lock/unlock is the way to share pthread structures?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden