fn pread(self: *Loop, fd: os.fd_t, buf: []u8, offset: u64, simulate_evented: bool) os.PReadError!usize

Performs an async os.pread using a separate thread. fd must block and not return EAGAIN.

Parameters

self: *Loop,
fd: os.fd_t,
buf: []u8,
offset: u64,
simulate_evented: bool,