codepy icon indicating copy to clipboard operation
codepy copied to clipboard

question about relaxing locking

Open tjb900 opened this issue 7 years ago • 1 comments

Hi,

So I'm a user of a package which depends on codepy (devitoproject.org). Since the compilations it generates can be quite slow (several minutes each), parallelism is obviously desirable if possible. The current locking system in codepy precludes this, if we want to also make use of the cache (which we do - because several minutes per compilation!).

Just so I don't start down a completely unwelcome path - can you please advise if a patch which changes the locking to be one-lockfile-per-hash (rather than a single lock on the whole cache directory) would be welcome?

Thanks!

tjb900 avatar Sep 07 '18 04:09 tjb900

Sure, I'd be happy to have that. Thanks for offering.

inducer avatar Sep 10 '18 06:09 inducer