[ale] Linuxthreads question

Christopher Fowler cfowler at outpostsentinel.com
Mon Jun 23 13:58:42 EDT 2003


I've done this a few times myself.

http://pauillac.inria.fr/~xleroy/linuxthreads/faq.html

What you are looking at is the implmentation of POSIX Threads for
linux.  POSIX 1003.1x.  

do a 'man -k pthread' and you'll see all the man pages.

You can still use the native version of clone(), but if
you want your app to be portable in the future, you need
to stick to POSIX Threads.

Make sure you read the man pages because implementation is
a little different under linux.  All shoudlw ork well though.

Chris

On Mon, Jun 23, 2003 at 01:49:00PM -0400, John Mills wrote:
> ALErs -
> 
> I'm writing a multi-threaded application in a RH-7.3-2.4.20 system.  
> Reading the LDP threading FAQ, what I need seems to be 'linuxthreads' so
> my threads will not be mutually blocking. I further see that threads are
> (in principle) integrated into 'glibc'. There seems to be at least one 
> other threads package that won't do what I want.
> 
> What lib and headers do I link to get 'linuxthreads' version of, say, 
> 'clone()'?
> 
> Thanks.
> 
>  John Mills
>  john.m.mills at alum.mit.edu
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list