« Previous | Next » 

Revision b2dabfd6

Parent b5c0e9d9
Child 7c0d6283

Added by Guido Trotter about 16 years ago

LockSet: handle empty case

A LockSet is mostly useful when it has some locks in it. On the other hand
there are cases in which it must function even when empty. For example if a
cluster has no instances in it there's no reason why locking all of them
shouldn't work anyway. This patch adds test code for that situation and
implements the necessary fixes to make it work.

Reviewed-by: imsnah


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences