Stefan Schuermans commited on 2018-09-09 16:23:39
Showing 2 changed files, with 2 additions and 2 deletions.
Time::Time(float) is not supported
| ... | ... |
@@ -21,7 +21,7 @@ namespace Blinker {
|
| 21 | 21 |
*/ |
| 22 | 22 |
void Io::wait(Set &read, Set &write, const Time &timeout) |
| 23 | 23 |
{
|
| 24 |
- static const Time maxTimeout(0.5); // maximum timeout for I/O wait |
|
| 24 |
+ static const Time maxTimeout(1); // maximum timeout for I/O wait |
|
| 25 | 25 |
|
| 26 | 26 |
// get maximum file descriptor, read set and write set |
| 27 | 27 |
int max = 0; |
| ... | ... |
@@ -21,7 +21,7 @@ namespace Blinker {
|
| 21 | 21 |
*/ |
| 22 | 22 |
void Io::wait(Set &read, Set &write, const Time &timeout) |
| 23 | 23 |
{
|
| 24 |
- static const Time maxTimeout(0.5); // maximum timeout for I/O wait |
|
| 24 |
+ static const Time maxTimeout(1); // maximum timeout for I/O wait |
|
| 25 | 25 |
|
| 26 | 26 |
// get read set and write set, also count entries |
| 27 | 27 |
unsigned int rds = 0; |
| 28 | 28 |