Bugzilla Bug 286298: comment formatting changes only.
Modified Files: pkcs11i.h pkcs11u.c git-svn-id: svn://10.0.0.236/trunk@170789 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5be6e2784c
commit
65e2db1158
@ -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++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user