fix signal race (Scott Lamb)
This commit is contained in:
parent
076a8f4628
commit
d8ce4dc2e5
1
CHANGES
1
CHANGES
@ -3,6 +3,7 @@
|
|||||||
add io_passfd and io_receivefd (and test/fdpassing.c)
|
add io_passfd and io_receivefd (and test/fdpassing.c)
|
||||||
io_trywrite and io_waitwrite not ignore SIGPIPE
|
io_trywrite and io_waitwrite not ignore SIGPIPE
|
||||||
add man pages for libio, safemult
|
add man pages for libio, safemult
|
||||||
|
fix possible signal race in io_tryread and io_trywrite (Scott Lamb)
|
||||||
|
|
||||||
0.18:
|
0.18:
|
||||||
make libowfat compile on BSD again (sorry, and thanks to everyone who
|
make libowfat compile on BSD again (sorry, and thanks to everyone who
|
||||||
|
@ -21,7 +21,7 @@ int64 io_tryread(int64 d,char* buf,int64 len) {
|
|||||||
e->next_read=-1;
|
e->next_read=-1;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
new.it_interval.tv_usec=0;
|
new.it_interval.tv_usec=10000;
|
||||||
new.it_interval.tv_sec=0;
|
new.it_interval.tv_sec=0;
|
||||||
new.it_value.tv_usec=10000;
|
new.it_value.tv_usec=10000;
|
||||||
new.it_value.tv_sec=0;
|
new.it_value.tv_sec=0;
|
||||||
|
@ -22,7 +22,7 @@ int64 io_trywrite(int64 d,const char* buf,int64 len) {
|
|||||||
e->next_write=-1;
|
e->next_write=-1;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
new.it_interval.tv_usec=0;
|
new.it_interval.tv_usec=10000;
|
||||||
new.it_interval.tv_sec=0;
|
new.it_interval.tv_sec=0;
|
||||||
new.it_value.tv_usec=10000;
|
new.it_value.tv_usec=10000;
|
||||||
new.it_value.tv_sec=0;
|
new.it_value.tv_sec=0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user