Re: [ROOT] - using TTimer and sockets.

From: mathes@ik3.fzk.de
Date: Tue Mar 27 2001 - 16:20:29 MEST


On Tue, 27 Mar 2001, Caius Howcroft wrote:

> On Tue, 27 Mar 2001, mathes@ik3.fzk.de wrote
> 
> 
> > 1. Create and start a timer for each new socket message you send,
> >    if the timer expires, find the corresponding socket in a lookup table,
> >    if the message comes back before, stop the timer, find the timer in the
> >    lookup table
> 
> Is it not the case that TMonitor will block the timeout signal of TTimer?
> This is what i did first.
> 

I my application it was not the case. I think that the timeouts of the
TTimer are used in the select() system call. But haven't checked that -
better look in the sources of TTimer/TMonitor

Hermann-Josef



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:40 MET