• Guido Trotter's avatar
    Make sharing locks possible · 3977a4c1
    Guido Trotter authored
    LUs can declare which locks they need by populating the
    self.needed_locks dictionary, but those locks are always acquired as
    exclusive. Make it possible to acquire shared locks as well, by
    declaring a particular level as shared in the self.share_locks
    dictionary. By default this dictionary is populated so that all locks
    are acquired exclusively.
    Reviewed-by: iustinp
mcpu.py 12.3 KB