Linux application level timers?

From: Tom Sanders (
Date: Wed Jan 22 2003 - 17:17:03 EST

I'm writing an application server which receives
requests from other applications. For each request
received, I want to start a timer so that I can fail
the application request if it could not be completed
in max specified time.

Which Linux timer facility can be used for this?

I have checked out alarm() and signal() system calls,
but these calls doesn't take an argument, so its not
possible to associate application request with the
matured alarm.

Any inputs?

Thanks in advance,

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:30 EST