Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 12:02:44 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Graham Wheeler <gram@cdsec.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Using select() to implement a delay
Message-ID:  <199904201902.MAA99248@apollo.backplane.com>
References:  <199904200945.LAA28715@bowtie.nl> <371C53FE.3CE190C9@cdsec.com> <371C5501.3AA0A34@cdsec.com>

next in thread | previous in thread | raw e-mail | index | archive | help

:
:I'm starting to suspect that this is the case, and that the signal
:is SIGCHLD. The process does spin off child processes, and there may be

    Another thing you can do, if you want, is block all signals during
    the select using sigprocmask().  But this entails three system calls
    ( sigprocmask(), select(), sigprocmask() ) instead of two in the nominal
    case ( gettimeofday(), select(), [ gettimeofday() if select() returns
    that it was interrupted ] ).

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904201902.MAA99248>