[erlang-questions] Erlang and fsync

Scott Lystig Fritchie fritchie@REDACTED
Wed Aug 6 15:40:51 CEST 2014

Lukas Larsson <lukas@REDACTED> wrote:

ll> Â As stated in this thread there is no way to do this
ll> cross-platform, so if you need this functionality and it is
ll> available on your OS I would suggest writing a small nif.

To avoid angering the reduction-based-scheduling-gods-that-**will**-
smite-you-if-you-really-do-this, your NIF is no longer so small because
you'll need to do your own thread pool management + use the NIF to
initiate the sync + message passing when the pool has finished work.

Or you pass the work to a new-fangled dirty scheduler?


More information about the erlang-questions mailing list