Mercury Currency Engine
|
#include <scheduler.hpp>
Public Member Functions | |
template<typename... As> | |
parkable_notify (parkable *p, As &&... as) | |
operator parkable * () | |
A generic interface to store a function to unblock a parkable. void* m is
implementation specific memory (IE, the implementation can pass whatever it wants here).
Using this in a blocked queue allows abstracting operation specific behavior to a callback.
This object is convertable to it's associated parkable*, allowing searches for a specific operation if necessary.