changeset 155:2c63276c6b04

tweak
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 19 Dec 2019 11:33:23 +0900
parents 343f8f3c8f18
children 8b473f13fd9f
files src/sys_pipe_read.cbc
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/sys_pipe_read.cbc	Thu Dec 19 11:32:40 2019 +0900
+++ b/src/sys_pipe_read.cbc	Thu Dec 19 11:33:23 2019 +0900
@@ -33,7 +33,7 @@
     if (p->nread == p->nwrite && p->writeopen){
         if(proc->killed){
             release(&p->lock);
-            goto next();
+            goto err();
         }
         goto cbc_sleep(&p->nread, &p->lock, cbc_piperead1);
     }
@@ -54,9 +54,6 @@
   goto next(...);
 }
 
-__code nextPipeRead(...) {
-
-}
 
 __code readPipeRead(struct PipeRead* sys_read, union Data* impl, char* addr, int n, __code next(int ret,...)) {