Subject: Re: fork(2) vs. pthread_create() (fwd)
To: Nathan J. Williams <email@example.com>
From: Love <firstname.lastname@example.org>
Date: 06/10/2004 20:50:34
"Nathan J. Williams" <email@example.com> writes:
> manu@NetBSD.org (Emmanuel Dreyfus) writes:
>> I did that already. But as this works on other systems, and even on
>> NetBSD with GNU Pth, I'm sure someone else will get bitten by this
>> problem later.
> There are lots of areas of standards where the behavior of some
> operation or set of operations is undefined. I don't think that we're
> generally obligated to define and fix undefined things that other OS's
> happen to have; and as much as I like the option, I also don't think
> it's worthwhile to make all undefined things fail obviously, to
> prevent programmers from accidentally using them.
But this time its quite simple to make sure the timer is (re)created since
you'll know when it no longer there (see my patch).
I don't mind not fixing the problem. there is enough problems with trying
to use (p)threads that applications/libraries shouldn't do any fancy stuff.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
-----END PGP SIGNATURE-----