+ simcall_execution_wait(s);
+}
+
+void execute(double flops,double priority)
+{
+ smx_activity_t s = simcall_execution_start(nullptr,flops,1 / priority/*priority*/,0./*bound*/);
+ simcall_execution_wait(s);
+}
+
+void* recv(MailboxPtr chan) // deprecated
+{
+ return chan->get();
+}
+
+void* recv(MailboxPtr chan, double timeout) // deprecated
+{
+ return chan->get(timeout);
+}
+
+void send(MailboxPtr chan, void* payload, double simulatedSize) // deprecated
+{
+ chan->put(payload, simulatedSize);