From: Dave Butenhof <butenhof@zko.dec.com>
Subject: Re: Threads under Digital OSF 4.0d
Date: 1998/03/12 [thread overview]
Message-ID: <3507FA3C.6A92645D@zko.dec.com> (raw)
In-Reply-To: aGlUcFAtTbB1Ew21@rk-comp.demon.co.uk
Rob Kirkbride wrote:
> We have recently upgraded the operating system from 3.2g to 4.0d and are
> experiencing what I can only describe as 'funnies'. This was done as
> 3.2g was not fully Y2K complient.
>
> The software written in Ada creates nearly 500 threads and it ran pretty
> reliably on 3.2g. On 4.0d things don't seem to be happening quite as
> expected (and as they did). Structures seem to be getting corrupted
> every now and again. I haven't proven it isn't our software yet but I'm
> getting close.
The corruption is most likely an application or ada bug, rather than a bug
in the thread library. It's impossible to even offer an informed guess on
the basis of your information, but, historically, this is true of nearly
all data corruptors.
> ps does not now show all the threads (about 50 when we create nearly
> 500). I also don't think it's using our priorities any more. We've
> registered this with DEC but they haven't got back to us yet.
Yes, ps does show "all the threads", by its definition. It's just that ps
only knows about kernel threads, and that's different from application
threads. And ps won't know about your application thread priorities because
they (by default) have nothing to do with the kernel. I suggest you read
the release notes, and especially appendix A (especially A.3) of the 4.0D
Guide to DECthreads, for more information.
ps is not an application debugging tool -- it's a system display tool. When
you want to get into your application and see what's happening, use
ladebug, or another thread-aware debugger such as TotalView.
> Has anyone else had any experience with it, good or otherwise running C
> or Ada with pthreads?
Yes. Lots of them. Most are good. That, of course, does not mean there
aren't any problems; but to have any hope of identifying (much less
correcting) any problems there might be, we need quite a bit more
information than this!
/---------------------------[ Dave Butenhof ]--------------------------\
| Digital Equipment Corporation butenhof@zko.dec.com |
| 110 Spit Brook Rd ZKO2-3/Q18 http://members.aol.com/drbutenhof |
| Nashua NH 03062-2698 http://www.awl.com/cseng/titles/0-201-63392-2/ |
\-----------------[ Better Living Through Concurrency ]----------------/
next prev parent reply other threads:[~1998-03-12 5:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-10 5:00 Threads under Digital OSF 4.0d Rob Kirkbride
1998-03-12 5:00 ` Dale Stanbrough
1998-03-12 5:00 ` Dave Butenhof [this message]
1998-03-12 5:00 ` Rob Kirkbride
1998-03-17 5:00 ` Stephen Leake
1998-03-17 5:00 ` Jeff Denham
1998-03-19 5:00 ` Dave Butenhof
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