Private namespace for internal dbux-cxx implementation. More...
Functions | |
std::tuple< bool, int, std::vector< int >, std::chrono::milliseconds > | wait_for_fd_activity (std::vector< int > fds, int timeout_ms) |
Wait for activity on any of the given FDs. More... | |
Private namespace for internal dbux-cxx implementation.
This implementation may not be stable and may change between releases, so use at your own risk!
std::tuple< bool, int, std::vector< int >, std::chrono::milliseconds > DBus::priv::wait_for_fd_activity | ( | std::vector< int > | fds, |
int | timeout_ms | ||
) |
Wait for activity on any of the given FDs.
If the system call is interrupted, it will be restarted automatically.
fds | The FDs to monitor |
timeout | The timeout, in milliseconds to wait. -1 means infite. |
Referenced by DBus::StandaloneDispatcher::dispatch_thread_main(), and DBus::Connection::send_with_reply_blocking().