[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-threads
Subject:    Re: pthread - fork - execv problem
From:       Daniel Eischen <eischen () vigrid ! com>
Date:       2004-06-22 21:50:34
Message-ID: Pine.GSO.4.10.10406221745060.4146-100000 () pcnet5 ! pcnet ! com
[Download RAW message or body]

On Tue, 22 Jun 2004, Dan Nelson wrote:

> In the last episode (Jun 22), Daniel Eischen said:
> > > libpthread in -current does support pthread_atfork, and I have a
> > > patch (below) that adds the same functionality to libc_r and libthr
> > > that I need to send-pr.  Pointy hat to the original committer for
> > > breaking ABI compatibility.  http://dan.allantgroup.com/FreeBSD/
> > 
> > Whaa?  Adding a function doesn't break ABI, and I don't want to
> > maintain 3 thread libraries.
> 
> It does if an application detects pthread_fork during configure and
> uses it.  You then can't use libmap to redirect libpthread to one of
> the other thread libraries for testing, since you'll get an undefined
> symbol error at runtime.

Bah.  libc_r is marked for deprecation and libpthread is the
default library in -current.

> Nikos Ntarmos also noticed that there's no pthread_atfork manpage.  We
> could probably just use the Single Unix one.

Yes, you can now that The Open Group have given us permission :-)

-- 
Dan Eischen

_______________________________________________
freebsd-threads@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic