Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1995

Combination of sigwait() with sigaction()?

From Markus Elfring <Markus.Elfring@web.de>
Newsgroups comp.programming.threads, comp.unix.programmer
Subject Combination of sigwait() with sigaction()?
Date 2013-11-21 17:50 +0100
Message-ID <bf6rviFm5kiU1@mid.individual.net> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


Hello,

I have found an interesting article about waiting for signals in a separate
thread. A source code skeleton is shown.
http://devcry.heiho.net/2009/05/pthreads-and-unix-signals.html

The author suggested also to install an empty signal handler by the function
"sigaction". How do you think about this suggestion?
Is the mentioned indication of non-default signal actions useful here?

Regards,
Markus

Back to comp.programming.threads | Previous | NextNext in thread | Find similar


Thread

Combination of sigwait() with sigaction()? Markus Elfring <Markus.Elfring@web.de> - 2013-11-21 17:50 +0100
  Re: Combination of sigwait() with sigaction()? Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2013-11-21 17:02 +0000
    Re: Combination of sigwait() with sigaction()? Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2013-11-21 17:32 +0000
    Re: Combination of sigwait() with sigaction()? Markus Elfring <Markus.Elfring@web.de> - 2013-11-21 18:38 +0100
  Re: Combination of sigwait() with sigaction()? "Chris M. Thomasson" <no@spam.invalid> - 2013-11-21 14:52 -0800

csiph-web