Home
last modified time | relevance | path

Searched refs:sema (Results 1 – 1 of 1) sorted by relevance

/openssl/crypto/thread/arch/
H A Dthread_win.c284 HANDLE sema; /* main wait semaphore */ member
312 if ((cv->sema = CreateSemaphoreA(NULL, 0, LONG_MAX, NULL)) == NULL) { in ossl_crypto_condvar_new()
319 CloseHandle(cv->sema); in ossl_crypto_condvar_new()
338 CloseHandle(cv->sema); in ossl_crypto_condvar_free()
428 rc = obj_wait(cv->sema, deadline); in ossl_crypto_condvar_wait_timeout()
507 ReleaseSemaphore(cv->sema, num_wake, NULL); in ossl_crypto_condvar_broadcast()
529 ReleaseSemaphore(cv->sema, 1, NULL); in ossl_crypto_condvar_signal()

Completed in 6 milliseconds