Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: dsr@lns598.lns.cornell.edu (Daniel S. Riley)
Subject: Re: pthreads
Date: 1996/02/07	[thread overview]
Message-ID: <shhgx39v95.fsf@lns100.lns.cornell.edu> (raw)
In-Reply-To: Ul60J8K00ioBAI84Zr@andrew.cmu.edu

In article <Ul60J8K00ioBAI84Zr@andrew.cmu.edu> 
Joshua Broch <broch+@andrew.cmu.edu> writes:
broch> Is anyone aware of a problem with the pthreads library for DEC
broch> Unix?  If I take a perfectly normal program, such as a hello
broch> world program, and link it in with the pthreads library, the
broch> program SEGFAULTS immediately on execution.

You need the thread-safe versions of a bunch of libraries.  If you are
using cc, link with 'cc ... -threads', not -lpthreads.  If you are
using something like gcc that doesn't support '-threads', link
something with 'cc -v ... -threads' and copy what it does.
-- 
Dan Riley                          Internet:  dsr@lns598.lns.cornell.edu
Wilson Lab, Cornell University     HEPNET/SPAN: lns598::dsr (44630::dsr)
	      "Distance means nothing/To me." -Kate Bush



      parent reply	other threads:[~1996-02-07  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-06  5:00 pthreads Joshua Broch
1996-02-07  5:00 ` pthreads Dave Butenhof
1996-02-07  5:00 ` Daniel S. Riley [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox