Make sharing locks possible
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
Loading
Please register or sign in to comment