|
|
@@ -39,7 +39,7 @@ namespace cppcore |
|
|
|
{ |
|
|
|
using duration_type = std::chrono::duration<T_rep, T_period>; |
|
|
|
|
|
|
|
auto tmp = duration_cast<timespec>(timeout); |
|
|
|
auto tmp = duration_cast<timeval>(timeout); |
|
|
|
auto ret = ::select(fd_count, &read, &write, &except, &tmp); |
|
|
|
if (ret < 0) |
|
|
|
return __impl::throw_select_error(errno); |
|
|
|