-template <> void* Mailbox::get<void>(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;
-}
-
-kernel::activity::ActivityImplPtr
-Mailbox::iprobe(int type, bool (*match_fun)(void*, void*, kernel::activity::CommImpl*), void* data)
-{
- return kernel::actor::simcall([this, type, match_fun, data] { return pimpl_->iprobe(type, match_fun, data); });
-}
-} // namespace s4u
-} // namespace simgrid