From: eric@... (Eric Lee Green) Date: 2002-01-19T02:58:52+09:00 Subject: Re: [RCR] #59 Add fsync method to IO class In article <1011251260.134700.4748.nullmailer@ev.netlab.jp>, Yukihiro Matsumoto wrote: > In message "[RCR] #59 Add fsync method to IO class" > on 02/01/17, Leslie Hensley writes: > >|Adding fsync and fdatasync methods to the IO class will allow Ruby to >|be used to address problem domains where it must be guaranteed that >|data has been written to the disk. Examples of these are logging for >|security purposes and transactional systems. The posix functions fsync > * how common are they? Extremely common in any database system. > * what if it's not defined on the platform? Then it's a NOP, and transactional stuff won't work reliably (shrug). Which is no different from the current situation. -- Eric Lee Green eric@badtux.org http://www.badtux.org GnuPG public key at http://badtux.org/eric/eric.gpg BadTux: Linux Penguin Gone Bad