Re: Linux application level timers?

2003-01-23 Thread Riku Meskanen
On Wed, 22 Jan 2003, Tom Sanders wrote: > 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 tim

Re: Linux application level timers?

2003-01-23 Thread Narsimha Reddy CH
You can also use the poll() system call. The last arguement of this system call is the timeout value is milli-seconds. When timeout is occurred it will return 0. Refer the manual page for more details. hope this helps you, -- Narsimha Reddy CH Storage Area Networking, HCL Technologies Contact +

Linux application level timers?

2003-01-22 Thread Tom Sanders
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