[sqlite] Signal handling and mmap

2015-05-09 Thread James K. Lowden
On Tue, 5 May 2015 12:05:51 -0700 Charles Munger wrote: > At https://www.sqlite.org/mmap.html, the documentation mentions: > > "An I/O error on a memory-mapped file cannot be caught and dealt with > by SQLite. Instead, the I/O error causes a signal which, if not > caught by the application,

[sqlite] Signal handling and mmap

2015-05-05 Thread Charles Munger
At https://www.sqlite.org/mmap.html, the documentation mentions: "An I/O error on a memory-mapped file cannot be caught and dealt with by SQLite. Instead, the I/O error causes a signal which, if not caught by the application, results in a program crash." It seems to me that a naively implemented