Commented SlotStr with information what what locks protect what.

This commit is contained in:
kirk.erickson%sun.com 2002-02-11 20:14:05 +00:00
Родитель 3e819f0609
Коммит c1af326874
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -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;