Re: signal delivery
From: Kasper Dupont (kasperd_at_daimi.au.dk)
Date: 01/23/04
- Next message: Kasper Dupont: "Re: Paying developers to get features faster"
- Previous message: Steve Holdoway: "Re: Paying developers to get features faster"
- In reply to: Fong Tsui: "signal delivery"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 23 Jan 2004 06:38:21 +0100
Fong Tsui wrote:
>
> Does anybody know if there are multiple signals sent to the same
> process at the same time, does linux system guarantees all signals got
> delivered?
You can't have more than one pending signal of each type.
>
> I have a case that SIGPIPE and SIGTERM are sent to a process at the
> same time.
In that case you are guaranteed that both will get delivered.
(Assuming the first signal doesn't kill the process.)
> In the code, signals received are not certain, sometimes,
> either one, sometimes none but never got both.
Could be a race condition in your code. Please post a
minimal code example demonstrating the problem.
-- Kasper Dupont -- der bruger for meget tid paa usenet. For sending spam use mailto:aaarep@daimi.au.dk /* Would you like fries with that? */
- Next message: Kasper Dupont: "Re: Paying developers to get features faster"
- Previous message: Steve Holdoway: "Re: Paying developers to get features faster"
- In reply to: Fong Tsui: "signal delivery"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|