julia> tic(); t = @async read(open("filename"),UInt8,2500000000); yield(); toc()
elapsed time: 9.094271773 seconds
and it seems that reading blocks without yielding.
Is there a way to do this where the reading task yields to other processes while it is getting the data from disk?
I don't think this happens for normal file IO.
I think that Julia IO is built on libuv
Julia IO is mostly built on libuv, but file IO uses the internal ios library that is part of flisp.
To clarify: operations on the `IOStream` type use the "ios" library. Operations on `LibuvStream` (and its subtypes) use Libuv.