ts-7000
[Top] [All Lists]

[ts-7000] select() with timeout = 0

To:
Subject: [ts-7000] select() with timeout = 0
From: "colecian" <>
Date: Thu, 11 Feb 2010 13:39:17 -0000
Hi,

all the man pages for select() indicate that it returns immediately if both 
fields of timeout (struct timeval) are zero.

On the TS-7200 I find that select() returns a > 0 value (indicating a fd is 
set) even though timeval was zero.

Wondered if anyone has seen this. My watchdog keeps tripping because the 
combination of 38400 serial and TCP fd's keeps it very busy.

Best regards,

Ian Cole



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU