« Previous | Next » 

Revision b2dabfd6

IDb2dabfd6457eda98987ff13f9c1e928c31a46866
Parent b5c0e9d9
Child 7c0d6283

Added by Guido Trotter about 14 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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences