« Previous | Next » 

Revision 3977a4c1


Added by Guido Trotter about 15 years ago

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


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences