Returns an enumeration, defined in this class, that indicates what type of semaphore this is.
LockType type() const