Determining if a process blocks on a system call

From: selvakumar nagendran
Date: Tue Jan 04 2005 - 22:50:00 EST


hello,
If a process is executing a system call and if the
concerned resource(like pipereadend waiting for data
from write end) is not available I want to insert the
process back into the runqueue and not to the wait
queue. For that, how can I determine whether the
process blocks or not while executing that system
call.
Can anyone help me regarding this?

Regards,
selva

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/