5 ms·
So, basically, we need the NT-style, completion-oriented, inherently-asynchronous I/O model? ;-) (Amen!)
by trentnelson 8y ago
So, basically, we need the NT-style, completion-oriented, inherently-asynchronous I/O model? ;-) (Amen!)
- davidgould 8y agoYou misspelled VMS as NT. And actually VMS borrowed the IO model from RSX-11. Async QIO style IO is all good clean fun, until someone writes something like: fml(...) { char buf[1024]; sys$qio(QIO_READ, buf, sizeof(buf)); return; } main() { fml(); do_stuff(); //surprise package delivered into stack here! }
- cryptonector 8y agoYes. Every system call that can block should take an event queue argument. If you want the system call to block then the C library's stub should wait for it for you.