[NTLUG:Discuss] How to use threads

Steve Baker sjbaker1 at airmail.net
Mon Aug 7 20:29:57 CDT 2000


> Chandrashekar Subramanian wrote:
> 
> To write POSIX compatible threads in RH Linux 6.2 is there any
> package that I need to install ? I get Linker Errors with a simple
> program that creates a thread using the pthread_create() interface.

It's a long shot - but....

There is an ancient known-bug in the Linux linker that bites *only*
for programs that refer to libraries that in turn refer to pthreads
calls...and then not on all machines and not all the time.

If the error is an 'assert' in the linker - then that may be your
problem.

-- 
Steve Baker   HomeEmail: <sjbaker1 at airmail.net>
              WorkEmail: <sjbaker at link.com>
              HomePage : http://web2.airmail.net/sjbaker1
              Projects : http://plib.sourceforge.net
                         http://tuxaqfh.sourceforge.net
                         http://tuxkart.sourceforge.net
                         http://prettypoly.sourceforge.net






More information about the Discuss mailing list