OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bolt
(Results
1 - 1
of
1
) sorted by relevancy
/src/external/zlib/pigz/dist/
yarn.c
99
lock *
bolt
;
local
101
bolt
= my_malloc(sizeof(struct lock_s));
102
if ((ret = pthread_mutex_init(&(
bolt
->mutex), NULL)) ||
103
(ret = pthread_cond_init(&(
bolt
->cond), NULL)))
105
bolt
->value = initial;
106
return
bolt
;
109
void possess(lock *
bolt
)
113
if ((ret = pthread_mutex_lock(&(
bolt
->mutex))) != 0)
117
void release(lock *
bolt
)
121
if ((ret = pthread_mutex_unlock(&(
bolt
->mutex))) != 0
[
all
...]
Completed in 16 milliseconds
Indexes created Sat Sep 05 00:25:07 UTC 2026