Subject: RE: signal handler context...
To: Stephane St Hilaire <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 12/17/2001 18:06:29
On Fri, 14 Dec 2001, Stephane St Hilaire wrote:
> > Why do you care? There may be a better way to solve the underlying
> > problem.
> Let's say my library has a function that takes a while to complete (say a
> few seconds). Basically I have a blocking call that I don't want anyone
> using from a signal handler but I'd rather return an error code when called
> from such a context than just hanging or crapping out.
> That's the main idea.
Then you provide a way for the program to tell you. ;-) Say a flag passed