Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Einar Floystad Dorum <einarfd@tihlde.org>
Subject: Re: Problems with semaphores
Date: 1999/09/14	[thread overview]
Message-ID: <m3so4hh697.fsf@kaupang.uninett.no> (raw)
In-Reply-To: 7rlfha$evk$1@nnrp1.deja.com

jefflandgraf@my-deja.com writes:

> I'm having problems with the pthread library using
> Redhat 6.0 with kernal 2.2.10 on alpha.  The
> following simple program creates two threads
> which trade semephores back and forth between
> themselves.  They crash after some time, with one
> of three results.
> 
> 1. Segmentation fault
> 
> 2. Illegal instruction
> 
> 3. Both of the threads with the semephore are
> suspended and the main thread continues.
> 
> (Note.  If I replace the semephores with mutex's I
> get the same results)

You should upgrade to a 2.2.12 kernel. 2.2.10 had some ugly threading
bugs wich made it unusabel for any threaded program.




  reply	other threads:[~1999-09-14  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-14  4:00 Problems with semaphores jefflandgraf
1999-09-14  4:00 ` Einar Floystad Dorum [this message]
1999-09-15  4:00   ` Jeff Landgraf
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