I'm debugging an intermittent situation where the POSIX fopen() function
is sometimes returning EINTR (interrupted system call due to signal receipt).
This application makes heavy use of signals and has all sorts of signal
handlers.
How can I find out which signal is causing the EINTR? I suppose I could
modify all of the signal handlers to log debugging info as each signal is
tripped. But there are many signal handlers.
Is there any way to determine outside of a signal handler what the last signal
received was?
--
Mark Bixby E-mail: [log in to unmask]
Coast Community College Dist. Web: http://www.cccd.edu/~markb/
District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)