Lines Matching refs:thread
1327 * threads attempt to load/destroy the key, exactly one thread succeeds. */
1335 * that once imported by some thread, all threads can use the key. */
1342 /* Import the key, exactly one thread must succeed. */
1350 /* More than one thread has succeeded, report a failure. */
1358 /* If all of the key slots are reserved when a thread
1363 * free key slots. Each thread reserves an empty key slot,
1365 * It is at that point where the thread sees that the key
1370 * thread from executing, note that this is not an error. */
1374 /* The key has been loaded by a different thread. */
1384 * 1: This thread successfuly imports a persistent key skc->key.
1387 * 3: A final thread attempts to reserve an empty key slot, kicking
1389 * 4: This thread calls psa_get_key_attributes(skc->key,...):
1392 * This thread returns PSA_ERROR_INSUFFICIENT_MEMORY.
1423 /* Ensure that we are the only thread to succeed. */
1961 * exactly one thread succeeds and the rest fail with valid errors.
1976 * occurs, and exactly one thread succeeds when destroying the key. */
1987 /* Ensure that one thread succeeded in destroying the key. */