message *msg;
{
MESSAGE m;
+ int result=1;
msg->control.sender.node = ournode;
msg->control.sender.pix = thispix;
m.param.pword[2] = my_ctx.node;
m.param.pword[3] = my_ctx.program_id;
memcpy(&m.int_msg,msg,sizeof(message));
- send_to_net(&m);
-
+ result = send_to_net(&m);
+ if (result == 0) {
+ /* 2010 local allocation */
+ msg->control.receiver.node == ournode;
+ msginterrupt(msg); /* call directly interrupt handler */
+ }
}
}