Re: asynchronous fsync()

Mike Abbott <[email protected]> Tue, 7 Mar 2006 09:06:32 -0800 (PST)
Newsgroups gmane.comp.lib.state-threads.devel
Message-ID <[email protected]>
> Is there any way to make fsync() asynchronous

My first guess would be No, because ST requires non-blocking I/O and
descriptors to disk files can't be made non-blocking.  But I'll talk
with Gene about it.  You mentioned async I/O but that's its own can of
worms.  I've never relied on SIGIO; let me know how it works for you :).

If I were faced with this I would do the typical ST thing and spawn a
persistent helper process.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642