ganga.GangaCore.Lib.LCG.LCGSandboxCache module

Helper class for upladong/downloading/deleting sandbox files using lcg-cr/lcg-cp/lcg-del commands.

@author: Hurng-Chun Lee @contact: hurngchunlee@gmail.com

ganga.GangaCore.Lib.LCG.LCGSandboxCache.const_lock

This is a context manager which acquires the const write lock on the object’s root object.

This lock acquires exclusive access over an object tree to prevent it from changing. Reading schema attributes on the object is still allowed but changing them is not. Only one thread can hold this lock at once.