Tom Lane wrote: > Joe Conway <[EMAIL PROTECTED]> writes: > > The thing was that with the extra +1, I was repeatedly getting a wall-clock > > time of 2 seconds with a timeout set to 1 second. It seemed odd to have my 1 > > second timeout automatically turned into 2 seconds every time. > > That is odd; seems like you should get between 1 and 2 seconds. How > were you measuring the delay, exactly?
Remember, that if you add 1, the select() is going to get tv_sec = 2, so yes, it will be two seconds. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]