зеркало из https://github.com/mozilla/pjs.git
Bugzilla Bug 286298: comment formatting changes only.
Modified Files: pkcs11i.h pkcs11u.c
This commit is contained in:
Родитель
5261b12d28
Коммит
c731461d07
|
@ -58,7 +58,7 @@
|
|||
|
||||
#define PKCS11_USE_THREADS /* set to true of you are need threads */
|
||||
/*
|
||||
* Attribute Allocation strategy is static allocation:
|
||||
* The attribute allocation strategy is static allocation:
|
||||
* Attributes are pre-allocated as part of the session object and used from
|
||||
* the object array.
|
||||
*/
|
||||
|
|
|
@ -69,10 +69,10 @@ pk11_NewAttribute(PK11Object *object,
|
|||
PORT_Assert(0);
|
||||
}
|
||||
/*
|
||||
* We attempt to keep down contention on Malloc and Arena locks
|
||||
* by limiting the number of these calls on high traversed paths. this
|
||||
* is done for attributes by 'allocating' them from a pool already allocated
|
||||
* by the parent object.
|
||||
* We attempt to keep down contention on Malloc and Arena locks by
|
||||
* limiting the number of these calls on high traversed paths. This
|
||||
* is done for attributes by 'allocating' them from a pool already
|
||||
* allocated by the parent object.
|
||||
*/
|
||||
PK11_USE_THREADS(PZ_Lock(so->attributeLock);)
|
||||
index = so->nextAttr++;
|
||||
|
|
Загрузка…
Ссылка в новой задаче