version 1.34, 2002/11/11 23:01:58
|
version 1.35, 2002/11/12 18:52:07
|
|
|
Boolean handled_events = false; | Boolean handled_events = false; |
int i = 0; | int i = 0; |
| |
|
#ifdef PEGASUS_OS_TYPE_WINDOWS |
|
// Using the specified timeout value causes Windows platforms to spin in a |
|
// tight loop consuming 100% of the CPU cycles. |
|
struct timeval tv = {0, 1}; |
|
#else |
struct timeval tv = {milliseconds/1000, milliseconds%1000*1000}; | struct timeval tv = {milliseconds/1000, milliseconds%1000*1000}; |
|
#endif |
fd_set fdread; | fd_set fdread; |
FD_ZERO(&fdread); | FD_ZERO(&fdread); |
| |