Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Markus Elfring Newsgroups: comp.programming.threads,comp.unix.programmer Subject: Signal handlers writing into pipes Date: Sun, 30 Sep 2012 13:21:37 +0200 Lines: 9 Message-ID: <50682B41.20003@web.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: individual.net DuwHmXLMg++eTbZY8/CHtQ8oUa65RKEx9e/U5jyURp8PKX1CEuvsUdjwUPQnSfUcao Cancel-Lock: sha1:GbHwkSf+wHC3Zk+AMFOpVgnlOoc= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0 In-Reply-To: Xref: csiph.com comp.programming.threads:1125 comp.unix.programmer:3387 > The problematic issue is when SIGFOO fills the pipe, causing SIGBAR to get > dropped on the floor. That seems exceedingly unlikely, but I suppose you > could use one pipe per signal. Can the probability for a full pipe be calculated for the discussed use case? How big is the pipe capacity on the various software platforms? Regards, Markus