lin-club  

[Haifux] Funny man pages [was Re: user-level threads: Signal Handler (fwd)]

Shlomi Fish
Tue, 16 Apr 2002 02:41:07 -0700


>From the Linux getopt(3) manpage: "BUGS:
This manpage is confusing."

Another favourite of mine is the strtok(3) man page:

BUGS: Never use these functions.

And the ironic thing is that sometimes Technion students are instructed to
use it.

Regards,

        Shlomi Fish




On Tue, 16 Apr 2002, Nadav Har'El wrote:

> On Tue, Apr 16, 2002, guy keren wrote about "[Haifux] user-level threads: Signal 
>Handler (fwd)":
> > so i guess anyone interested in seeing user-level threads implemented in
> > linux should look for the above two things on google, or just:
> >
> > GNU pth (http://www.gnu.org/software/pth/) <-- NON-preemptive threads.
>
> Also take a look at
> http://oss.software.ibm.com/developerworks/opensource/pthreads/
>
> Which is "The Next Generation POSIX Threading Project is a derivative of the
> excellent package GNU Pth.". According to them, "This version achieves near
> full POSIX compliance.", so it is probably preemptive, not cooperative,
> threading. They also say, "The goal of this project is to attempt to solve
> the problems associated with the use of the pthreads library on Linux. It
> will add M:N threading capability and improve significantly on the POSIX
> compliance of pthreads on Linux.".
> Apparently NGPT needs a kernel patch that is already included in kernels
> 2.4.17, 2.5.4 or newer.
>
>



----------------------------------------------------------------------
Shlomi Fish        [EMAIL PROTECTED]
Home Page:         http://t2.technion.ac.il/~shlomif/
Home E-mail:       [EMAIL PROTECTED]

He who re-invents the wheel, understands much better how a wheel works.


--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://linuxclub.il.eu.org)
To unsub send an empty message to [EMAIL PROTECTED]