Exemplo n.º 1
0
void messagesent(pid32 p, char msg,int maxwait) // function for bsmtests
{
	printf("Time is : %d && the PID is : %d \n",clktimefine,currpid);
	sendbt(p,msg,maxwait);
	//printf("Time is : %d && the PID is : %d \n",clktimefine,currpid);
}
Exemplo n.º 2
0
void sendex(pid32 receiver_pid, umsg32 msg, int32 wait){
    kprintf("\nSending from PID: %d, to %d, value: %d", currpid, receiver_pid, msg);
    if (SYSERR == sendbt(receiver_pid, msg, wait))
        kprintf("\nSending not done");
}