Tookmund / Swapspace

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

Check behaviour when system calls interrupted #2

Open Tookmund opened 10 years ago

Tookmund commented 10 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...