Utilities on tasking, because lack of a better place...Some funcions are intended to be put in a custom file/class.. More...
#include <core/Future.h>#include <memory>#include <parallelism/Barrier.h>#include <tasking/Event_mthread.h>#include <utility>Go to the source code of this file.
Namespaces | |
| mel | |
| mel::tasking | |
| Tasking system. | |
Functions | |
| template<class ErrorType = mel::core::WaitErrorAsException, class T > | |
| ::mel::core::WaitResult< T > | mel::tasking::waitForFutureMThread (const mel::core::Future< T > &f, unsigned int msecs=EVENTMT_WAIT_INFINITE) noexcept(std::is_same< ErrorType, ::mel::core::WaitErrorNoException >::value) |
| Waits for future completion, returning a wapper around the internal vale. More... | |
| MEL_API ::mel::tasking::EEventMTWaitCode | mel::tasking::waitForBarrierMThread (const ::mel::parallelism::Barrier &b, unsigned int msecs=::mel::tasking::EVENTMT_WAIT_INFINITE) |
| Wait for a barrier to activated in the context of a microthread. | |
Utilities on tasking, because lack of a better place...Some funcions are intended to be put in a custom file/class..