John Polstra wrote: > > That statement made me think that Modula-3 had it's own threading > > support because our native threads using non-blocking file I/O. > > For disk I/O? Are you sure? If so then it must use the aio/lio calls > or something similar. Disk I/O calls _always_ block, even if you've > set O_NONBLOCK on the file descriptor.
No it doesn't use aio/lio (although I was recently thinking about trying it). It uses select for I/O readiness, then read/write on O_NONBLOCK files. Dan Eischen eisc...@vigrid.com To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message