Mercurial > hg > xemacs-beta
view src/s/irix5-2.h @ 4499:eb82259f265d
Port write-region-inhibit-sync, allowing avoidance of bad FS performance.
See http://shaver.off.net/diary/2008/05/25/fsyncers-and-curveballs/ for more
details.
2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
Integrate Romain Francoise' 2005-09-14 (pre-GPLV3) GNU change,
which can allow much better performace with some stupid
filesystems:
* fileio.c (write_region_inhibit_fsync): New variable.
(Fwrite_region): Use it to skip call to fsync.
(syms_of_fileio): Initialize it.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 09 Aug 2008 16:44:46 +0200 |
parents | 376386a54a3c |
children |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ #include "irix5-1.h" /* as of version 5.2, irix no longer uses flock, according to jackr@wpd.sgi.com. */ #undef MAIL_USE_FLOCK #if 0 /* XEmacs is smarter about dealing with C-g in select */ /* C-g in select is not handled properly with restartable system calls. So don't use them. */ #undef SA_RESTART #endif /* 0 */ /* schoepf@goofy.zdv.Uni-Mainz.de reports he needed -lw with X11R6 on Irix 5.3. I don't know which Irix version that need starts with. */ #define NEED_LIBW