From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,57421e52a70d7deb X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-08-03 10:03:47 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!cs.utexas.edu!uunet!charon.citicorp.com!ibism!gjb From: gjb@fig.citib.com (Greg Brail) Subject: Re: Looking for info on threads usage Message-ID: Keywords: pthreads, signal Sender: news@fig.citib.com Organization: Citibank IBISM References: <23912uINNnu9@duca.hi.com> <23js4sINNsjt@duca.hi.com> Date: Tue, 3 Aug 1993 16:43:57 GMT 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