Use nonblocking send to reply.
This commit is contained in:
parent
bc7e3c02a3
commit
8a07b7687a
1 changed files with 6 additions and 1 deletions
|
@ -162,7 +162,12 @@ struct driver *dp; /* Device dependent entry points. */
|
|||
mess.REP_ENDPT = proc_nr;
|
||||
/* Status is # of bytes transferred or error code. */
|
||||
mess.REP_STATUS = r;
|
||||
send(device_caller, &mess);
|
||||
r= sendnb(device_caller, &mess);
|
||||
if (r != OK)
|
||||
{
|
||||
printf("driver_task: unable to sendnb to %d: %d\n",
|
||||
device_caller, r);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue