On Sun, 5 Feb 2012, Ivan Voras wrote:

On 5 February 2012 11:44, Garrett Cooper <yaneg...@gmail.com> wrote:


   'make MAKE_JOBS_NUMBER=1' is the workground used right now..

David Xu suggested that it is a bug in Python - it doesn't set
process-shared attribute when it calls sem_init(), but i've tried
patching it (replacing the port patchfile file the one I've attached)
and I still get the hang.

I don't understand how process shared semaphores can work.  Perhaps
I'm dumb and ignorant, but a sem_id_t is an allocated struct.   The
actual kernel sem_id is inside the struct.  Isn't this the same
reason pthread_mutex_t and pthread_cond_t cannot be process-shared?

--
DE
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to