Based on answers to my own question
<https://groups.google.com/forum/#!topic/julia-users/mt3B0xx6SD4>, I
believe it's safe to assume that `read()` on file will switch to another
task during IO operation.
On Tuesday, May 17, 2016 at 2:03:21 AM UTC+3, ggggg wrote:
>
> Hello All,
>
> I think that Julia IO is built on libuv, and that libuv offers
> asynchronous IO to the filesystem. Is this exposed through the Julia API? I
> can't figure it out from the documentation. I did a simple test
>
> *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?
>
>
>
>