MT Core (C++)
Core library for replacing C++ standard in project usage
|
Select option to send a message without calling a callback on send. More...
#include <select.hpp>
Public Types | |
using | Message = typename S::Message |
Public Member Functions | |
Result< void, SelectOptionErrors > | attempt () |
bool | prevents_deadlock () const noexcept |
Checks if option is still valid (invalidates on channel close) | |
Public Attributes | |
S & | channel |
Message | m |
bool | valid = true |
Select option to send a message without calling a callback on send.
S | Sender to wait on |
Definition at line 80 of file select.hpp.
using mtcore::thread::SendOptionNoCallback< S >::Message = typename S::Message |
Definition at line 81 of file select.hpp.
|
inline |
Definition at line 86 of file select.hpp.
|
inlinenodiscardnoexcept |
Checks if option is still valid (invalidates on channel close)
Definition at line 102 of file select.hpp.
S& mtcore::thread::SendOptionNoCallback< S >::channel |
Definition at line 82 of file select.hpp.
Message mtcore::thread::SendOptionNoCallback< S >::m |
Definition at line 83 of file select.hpp.
bool mtcore::thread::SendOptionNoCallback< S >::valid = true |
Definition at line 84 of file select.hpp.