select system call and signal handlers - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

select system call and signal handlers

Hi all,
I have this question regarding usage of select system call and signal handler.
We can use select to check for I/O readiness of a fds. At the same time we can have signal handlers for SIGIO signal.
I suppose I make a signal handler for SIGIO signal and at the same time I am calling select on the same fd(device on which I am expecting I/O).
Now on I/O readiness signal handler will be called as well as select will get unblocked.
My question is when the SIGIO occurs, "Is there any guarantee of order in call of signal handler and select return?"

TIA
tan...
Sign In or Register to comment.