[Mono-dev] Mutex Bug
Edward Ned Harvey (mono)
edward.harvey.mono at clevertrove.com
Thu Jul 3 14:11:54 UTC 2014
> From: Brandon Perry [mailto:bperry.volatile at gmail.com]
> Does the file have to be written to in real time?
> Why not perform buffered writes to a memory region, then flush to disk
> when a satisfiable amount of entropy has been met?
Oh - it's not like that. It's transactional.
One time, gather a bunch of entropy, and write it to disk to create the initial file. Subsequent times, read the file from disk, and change it. It's a very fast file open / read / write operation, for the purpose of benefitting from the initial entropy gathering, but every time the file is read it must be changed.
More information about the Mono-devel-list