« Previous | Next » 

Revision 7ee7c0c7

ID7ee7c0c7e4cba67496a261bc0890bbe8d02cf7a0
Parent c9064964
Child 8b68f394

Added by Guido Trotter about 16 years ago

Initial GanetiLockManager implementation

Includes some locking-related constants and explanations on how the
LockManager should be used, the class itself and its test cases.

The class includes:
- a basic constructor
- functions to acquire and release lists of locks at the same level
- functions to add and remove list of locks at modifiable levels
- dynamic checks against out-of-order acquisitions and other illegal ops

Its testing library checks that the LockManager behaves correctly and that the
external assumptions it relies on are respected.

Reviewed-by: imsnah

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences