BloombergLP::bdlmt::MultipriorityThreadPool::ThreadFunctor

Type alias for a nullary function object that returns void.

Synopsis

Declared in <bdlmt_multiprioritythreadpool.h>

typedef bsl::function<void()> ThreadFunctor;

Description

ThreadFunctor is an alias for a function object that is invokable (with no arguments) and returns void; its use is similar to that of a C-style function pointer and optional void * data pointer passed as arguments when creating a thread.