зеркало из https://github.com/mozilla/pjs.git
Commented SlotStr with information what what locks protect what.
This commit is contained in:
Родитель
3e819f0609
Коммит
c1af326874
|
@ -341,6 +341,13 @@ struct PK11SessionStr {
|
|||
|
||||
/*
|
||||
* slots (have sessions and objects)
|
||||
*
|
||||
* The array of sessionLock's protect the session hash table (head[])
|
||||
* as well as the reference count of session objects in that bucket
|
||||
* (head[]->refCount), objectLock protects all elements of the token
|
||||
* object hash table (tokObjects[]), and slotLock protects the
|
||||
* remaining protected elements: password, isLoggedIn, ssoLoggedIn,
|
||||
* sessionIDCount, sessionCount, and rwSessionCount.
|
||||
*/
|
||||
struct PK11SlotStr {
|
||||
CK_SLOT_ID slotID;
|
||||
|
|
Загрузка…
Ссылка в новой задаче