|
MT Core (C++)
Core library for replacing C++ standard in project usage
|
Option to add a timeout on select to ensure a path runs before a timeout If the timeout is hit, a timeout error will be returned from the select. More...
#include <select.hpp>
Public Member Functions | |
| Result< void, SelectOptionErrors > | attempt () |
| bool | prevents_deadlock () const noexcept |
Public Attributes | |
| std::chrono::time_point< Clock, Duration > | time_point |
Option to add a timeout on select to ensure a path runs before a timeout If the timeout is hit, a timeout error will be returned from the select.
| Clock | Clock to get time from |
| Duration | Duration for time point |
Definition at line 205 of file select.hpp.
|
inline |
Definition at line 208 of file select.hpp.

|
inlinenodiscardnoexcept |
Definition at line 216 of file select.hpp.
| std::chrono::time_point<Clock, Duration> mtcore::thread::BeforeOptionNoCallback< Clock, Duration >::time_point |
Definition at line 206 of file select.hpp.