-CommPtr Mailbox::get_async(void** data)
-{
- CommPtr res = get_init();
- res->set_dst_data(data, sizeof(*data));
- res->vetoable_start();
- return res;
-}
-
-void* Mailbox::get()
-{
- void* res = nullptr;
- CommPtr c = get_init();
- c->set_dst_data(&res, sizeof(res));
- c->vetoable_start();
- c->wait();
- return res;
-}
-void* Mailbox::get(double timeout)
-{
- void* res = nullptr;
- CommPtr c = get_init();
- c->set_dst_data(&res, sizeof(res));
- c->vetoable_start();
- c->wait_for(timeout);
- return res;
-}
-