chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Re: with-open-pipe to handle sigpipe


From: Lui Fungsin
Subject: Re: [Chicken-users] Re: with-open-pipe to handle sigpipe
Date: Tue, 15 Apr 2008 17:04:35 -0700

Hi Alan,

> you could then handle in an exception handler on your primary
> stack, instead of the signal stack.

That sounds like the way to go.

> If you set SIGPIPE to the chicken equivalent of SIG_IGN, any error
> message writing to the pipe will be returned by write(2) instead,

I'm not sure I followed you here. What's chicken's equivalent of SIG_IGN?

Care to write a few lines of pesudo code to illustrate what you said?

Thanks,
--fungsin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]