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


Groups > comp.programming.threads > #1989

Re: Clarification for the handling of sigwaitinfo()

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Markus Elfring <Markus.Elfring@web.de>
Newsgroups comp.programming.threads, comp.unix.programmer
Subject Re: Clarification for the handling of sigwaitinfo()
Date Sun, 17 Nov 2013 10:50:16 +0100
Lines 10
Message-ID <berhqoFao4nU1@mid.individual.net> (permalink)
References <bepgirFsghjU1@mid.individual.net> <20131116202321.6916e6ad@bother.homenet>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Trace individual.net oZioXSffFgIFFvbVdoJNlAUrgvTTQB6OkIESYqT3ssPt4Ee+lv
Cancel-Lock sha1:Q3Bwl1HI6iXKRQZeaa6Pf4VlDNc=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
In-Reply-To <20131116202321.6916e6ad@bother.homenet>
Xref csiph.com comp.programming.threads:1989 comp.unix.programmer:4982

Cross-posted to 2 groups.

Show key headers only | View raw


> I may have missed it (the code is quite dense) but I could not see
> on a quick read where you blocked asynchronous delivery of the signal to
> the process, so that sigwait() could pick it up.

I thought that my function call "pthread_sigmask(SIG_SETMASK, &signal_set,
NULL)" does this. Did I interpret the return value of the function "sigwaitinfo"
in the wrong way here?

Regards,
Markus

Back to comp.programming.threads | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Clarification for the handling of sigwaitinfo() Markus Elfring <Markus.Elfring@web.de> - 2013-11-16 16:16 +0100
  Re: Clarification for the handling of sigwaitinfo() Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2013-11-16 20:23 +0000
    Re: Clarification for the handling of sigwaitinfo() Markus Elfring <Markus.Elfring@web.de> - 2013-11-17 10:50 +0100
      Re: Clarification for the handling of sigwaitinfo() Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2013-11-17 11:11 +0000
        Re: Clarification for the handling of sigwaitinfo() Markus Elfring <Markus.Elfring@web.de> - 2013-11-17 13:30 +0100

csiph-web