In article <c58sad$dtq$1@news6.svr.pol.co.uk>, Joe Wood wrote:
> Hi,
>
(snip)
> But
> syspipe (false) -> pin -> pout ; ;;; order may be wrong
> here, but _that_ is not the problem
> read -> sys_async_io ( pin, 0 ) ;
>
> fails inside the kernel, ENOTTY. I know this is coming from the kernel
> because I ran strace to see the system calls.
>
> Does anybody know the reason.
>
> Thanks
> Joe
>
>
Hello,
I think that Linux just ignores asynchronous I/O requests
on pipes. ENOTTY is a normal error for " I don't know anything
about that ioctl." I believe asynchronous pipes are available
on Windows. See here
http://www.onlamp.com/pub/a/onlamp/2001/06/21/linux_bsd.html?page=3
I am no expert but I think this still holds true.
All the best,
John Duncan
|