Joerg Sonnenberger writes:

> > IMO it is wrong to force every C++ program to link against
> > libpthread, which is not that cheap.
>
> i'd buy that -- except that libstdc++ now references
> pthread_create() directly, and i don't know how to deal with that.

See how I did it for libc++? Make the reference weak and raise an
error for those things only that want to create a threead.

Just curious - is this going to be changed?


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------

Reply via email to