Pointer to the last guard in the queue of guards waiting for this lock, or 0 if the lock is unlocked.

Synopsis

Declared in <bslmt_qlock.h>

Description

Note that the first guard in the queue owns the lock so that d_guardQueueTail points to the owner of the lock when the lock is locked and there are no additional guards waiting.

It would have been preferable for this member to be private, but then this class would not be statically initializable. Also, it would have been preferable to make this member an instance of bsls::AtomicPointer<>, but again, we would lose the ability to initialize statically.

Created with MrDocs