Tookmund / Swapspace

A fork of Jeroen T. Vermeulen's excellent dynamic swap space manager
GNU General Public License v2.0
128 stars 12 forks source link

Check behaviour when system calls interrupted #2

Open Tookmund opened 9 years ago

Tookmund commented 9 years ago

(Copied from http://pqxx.org/development/swapspace/ticket/12) Custom signals can interrupt creation/decommissioning of swapfiles (you get EINTR). I'm not sure this is a bad thing, but it might create a risk of leaking files. Check that we prevent this in all cases.

Of course any leaked files should eventually be picked up again, but still...