Date: Wed, 4 May 2005 00:49:51 +0200 From: Marc Olzheim <marcolz@stack.nl> To: David Xu <davidxu@freebsd.org> Cc: freebsd-threads@freebsd.org Subject: Re: threads/76690: fork hang in child for (-lc_r & -lthr) Message-ID: <20050503224951.GB17595@stack.nl> In-Reply-To: <425B866C.4010609@freebsd.org> References: <200504111210.j3BCAZmU002870@freefall.freebsd.org> <425B02BB.5060904@freebsd.org> <20050412071220.GA17393@stack.nl> <425B866C.4010609@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--H+4ONPRPur6+Ovig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 12, 2005 at 04:27:24PM +0800, David Xu wrote: > You have to fix it in uthread_fork.c, lock __malloc_lock over=20 > __sys_fork() call. > but why libc_r ? it is depreciated. Hmmm. As long as FreeBSD 5.x fails to be stable / as stable as I need it to be, my company will keep running FreeBSD 4.x and thus will be using libc_r for a while. Perhaps some OpenBSD imports might help. I think that there might be more people around who can't run their software on FreeBSD 5.4 yet, but do need some sort of stable system with thread support. Or perhaps we're the only ones actually using the 'obscure' functionalities of the thread libraries and the kernel (sendfile(),writev() over NFS,threads with floating point code, socketpair(), etc.) and the only one who have worked around missing features (preadv(),pwritev(), threaded blocking I/O, slow malloc(), broken thread backtraces, etc.) but as long as those 'new' features work on FreeBSD 4 and don't work on FreeBSD 5, I have no choice but to keep using FreeBSD 4 and thus libc_r. :-( In any case, I'll look into libc_r's bugs some more, at least those that bother my employer. :-) Marc --H+4ONPRPur6+Ovig Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCeAAPezjnobFOgrERAsYxAKCP9rJszs6T0L/tkeUp51s0PaOSzwCghYoN AggacycQ0PRiIoF6hZ7lhUA= =DAsZ -----END PGP SIGNATURE----- --H+4ONPRPur6+Ovig--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050503224951.GB17595>