HDK
|
#include <NET_ThreadedIO.h>
Classes | |
class | Task |
Base Class to perform IO thread tasks. More... | |
Public Member Functions | |
NET_ThreadedIO (const ASIO_IOContext::executor_type &exc, exint max_cost=0) | |
void | postTask (UT_UniquePtr< Task > task) |
void | postTask (UT_Function< void()> func, exint cost=0) |
NOTE: This is ONLY a proof of concept as a replacement for UT_ThreadedIO If accepted this would likely move to $UT
Definition at line 27 of file NET_ThreadedIO.h.
|
inline |
Definition at line 67 of file NET_ThreadedIO.h.
|
inline |
Adds the task to the IO queue. This will block until there is enough free space on the queue.
Definition at line 76 of file NET_ThreadedIO.h.
|
inline |
Adds the task to the IO queue. This will block until there is enough free space on the queue.
Definition at line 114 of file NET_ThreadedIO.h.