Merge pull request #206 from NJDFan/master

Exclusive access on POSIX.