[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.8 make check failing in popen.test
From: |
Rob Browning |
Subject: |
Re: 1.8 make check failing in popen.test |
Date: |
Thu, 07 Sep 2006 19:45:46 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
> Sound bizarre. Maybe hacking scm_i_pthread_mutex_init to force the
> use of the "error checking" mutex attribute and then hacking
> scm_i_pthread_mutex_lock and scm_i_pthread_mutex_unlock to check the
> return and errno would show something. Dunno what though.
See pthread_atfork(3):
To understand the purpose of !pthread_atfork!, recall that !fork!(2)
duplicates the whole memory space, including mutexes in their
current locking state, but only the calling thread: other threads
are not run- ning in the child process. The mutexes are not usable
after the !fork! and must be initialized with |pthread_mutex_init|
in the child process. This is a limitation of the current
implementation and might or might not be present in future versions.
I believe a while back I wondered if we might have trouble with
pthreads and fork unless we were very careful, and I'm beginning to
wonder again.
--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
- Re: 1.8 make check failing in popen.test, Rob Browning, 2006/09/03
- Re: 1.8 make check failing in popen.test, Kevin Ryde, 2006/09/07
- Re: 1.8 make check failing in popen.test,
Rob Browning <=
- Re: 1.8 make check failing in popen.test, Kevin Ryde, 2006/09/08
- Re: 1.8 make check failing in popen.test, Marius Vollmer, 2006/09/09
- Re: 1.8 make check failing in popen.test, Rob Browning, 2006/09/09
- Re: 1.8 make check failing in popen.test, Rob Browning, 2006/09/10
- Re: 1.8 make check failing in popen.test, Rob Browning, 2006/09/10
- Re: 1.8 make check failing in popen.test, Neil Jerram, 2006/09/11
- Re: 1.8 make check failing in popen.test, Rob Browning, 2006/09/11
- Re: 1.8 make check failing in popen.test, Neil Jerram, 2006/09/11