ganga.GangaCore.Lib.LCG.LCGRequirements module

Helper class to group LCG requirements.

See also: JDL Attributes Specification at http://cern.ch/glite/documentation

ganga.GangaCore.Lib.LCG.LCGRequirements.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.