Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: gjb@fig.citib.com (Greg Brail)
Subject: Re: Looking for info on threads usage
Date: Tue, 3 Aug 1993 16:43:57 GMT	[thread overview]
Message-ID: <CB6ztA.D2z@fig.citib.com> (raw)
In-Reply-To: 23js4sINNsjt@duca.hi.com

In article <23js4sINNsjt@duca.hi.com> wright@duca.hi.com (David Wright) writes:

>Anyway, this answers one of my questions -- for the nonce, not
>allowing priority or policy setting doesn't appear to be much of a
>limitation.

Do you mean "for the novice?" If that's the case, you're right --
it's not a serious limitation. But it's still a limitation, and
I've written code where I'd like to be able to use thread priorities,
only I can't because it's non-portable.

>We support sigwait(), but only for the original thread in a process.
>That's because all asynchronously-generated signals are fed to that
>thread.  Any child threads can only receive synchronously-generated
>signals (e.g. SIGILL, SIGFPE).  This is how our Mach implementation
>(OSF/1) does it.  I have ground my teeth about this more than once,
>but for now we're stuck with it.

I think that's a much more serious limitation. Can one use signal(),
sigvec(), and the like and still have the program come out
thread-safe? That's better, but it's still different from other DCE
threads implementations. Having to call sigwait() in the main thread
is pretty ugly.

				greg

-- 
Greg Brail ------------------ Citibank -------------------- gjb@fig.citib.com


      parent reply	other threads:[~1993-08-03 16:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <23912uINNnu9@duca.hi.com>
     [not found] ` <CAzs3I.LFo@fig.citib.com>
1993-08-02 16:06   ` Looking for info on threads usage David Wright
1993-08-03 16:10     ` Erik_Brown
1993-08-03 16:43     ` Greg Brail [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