From: Philip Homburg Date: Fri, 22 Feb 2008 15:52:13 +0000 (+0000) Subject: Use nonblocking send to reply. X-Git-Tag: v3.1.4~258 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/gitweb.css?a=commitdiff_plain;h=8a07b7687a180cbe7f8535cc10829642cc8abbd4;p=minix.git Use nonblocking send to reply. --- diff --git a/drivers/libdriver/driver.c b/drivers/libdriver/driver.c index 6f28bb2b9..fe960f22f 100644 --- a/drivers/libdriver/driver.c +++ b/drivers/libdriver/driver.c @@ -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); + } } } }