Skip to content

Configurable locks

Replace hardcoded use of locks in cLockedDefaultList and others with a generic lock class so that the actual locking implementation can be choose at compile or runtime.

List of locked classes:

  • cLockedDefaultList
  • cLockedMsgHeap
  • cSpinLockedMsgHeap

List of Lock types

  • SpinLock
  • NoLock
  • SuspendLock

Possible implementation: template classes

  • template cDefaultList