Subject: Re: fork(2) vs. pthread_create() (fwd)
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-userlevel
Date: 06/10/2004 17:22:10
--zqjkMoGlbUJ91oFe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 11, 2004 at 12:25:49AM +0200, Emmanuel Dreyfus wrote:
> Nathan J. Williams <nathanw@wasabisystems.com> wrote:
>=20
> > > I don't mind not fixing the problem. there is enough problems with tr=
ying
> > > to use (p)threads that applications/libraries shouldn't do any fancy =
stuff.
> > Yeah, I'm hesitant to fix it precisely because it just enables further
> > confusion about what is legal and what isn't...
>=20
> Fix it and output a warning when a program does that?

How can you output a warning? You're in a library. You can't depend on=20
stdout or stderr, and trying to play with syslog seems wrong too.

Take care,

Bill

--zqjkMoGlbUJ91oFe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAyPsyWz+3JHUci9cRAj7sAJ9PV0jZKx5QYC/WD/alS0VjC6/d6QCeMuXJ
JOzK9FgxrglID7NpshZM4Ag=
=myC0
-----END PGP SIGNATURE-----

--zqjkMoGlbUJ91oFe--