harlowja / fasteners

A python package that provides useful locks.
Apache License 2.0
246 stars 45 forks source link

Fix process_lock and tests on Win32 #23

Closed johntyree closed 8 years ago

johntyree commented 8 years ago

The test_process_lock module was totally busted on windows. This cleans it up and gets everything working. There is a decent amount of code that just had to be moved to the top level of the module as helper functions because cross-process pickling on Windows is apparently less robust.

It also changes to multiprocessing instead of relying on POSIX fork() behavior.

Closes #22

harlowja commented 8 years ago

Thanks, on vacation for a little but will look this over soon!

harlowja commented 8 years ago

Ok, now just to see about that appvoyer thing. :+1: thx for the code/help.