From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bcc93fa8a5e50756 X-Google-Attributes: gidfee84,public X-Google-Thread: ffc1e,bcc93fa8a5e50756 X-Google-Attributes: gidffc1e,public From: Dave Butenhof Subject: Re: pthreads on Ditigal Unix 3.2D Date: 1997/02/03 Message-ID: <32F5DBB5.794B@zko.dec.com>#1/1 X-Deja-AN: 214464599 references: <01bc0c33$5e1410d0$775c19ce@nt4s_cmobilia> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.programming.threads x-mailer: Mozilla 3.01Gold (X11; I; OSF1 X4.0 alpha) Chuck Mobilia wrote: > > Has anyone successfully used pthreads on Digital Unix 3.2D? I seem to be > having touble with pthread_condattr_create function - segment faulting. > It appears not to be able to handle an address argument, when it signature > requires one???? What, exactly, are you trying to do? Precise examples are of much more use than ambiguous English descriptions. I can only guess that you're doing something wrong -- I've got no idea what that might be. The best description of a problem is a full source file that someone can compile to reproduce the behavior. Code fragments leave the possibility of errors outside the fragment. And show how you're BUILDING it, too. You should never require the person trying to help you to GUESS at anything, because that impairs their ability to assist you. It may, in fact, cause them to decide it's not worth their time to even try. Also, it's always a bad idea to start by trying to diagnose a problem ("unable to handle an address argument") rather than describing what you're doing and what you see as a result. You'd be embarrassed if you took a car with a thumping noise into a shop and told them that the transmission needed to be replaced -- only to find (maybe after a few thousand in repair bills) that the noise was just the rear hatch, which you had forgotten to close. /---[ Dave Butenhof ]-----------------------[ butenhof@zko.dec.com ]---\ | Digital Equipment Corporation 110 Spit Brook Rd ZKO2-3/Q18 | | 603.881.2218, FAX 603.881.0120 Nashua NH 03062-2698 | \-----------------[ Better Living Through Concurrency ]----------------/