Home
last modified time | relevance | path

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

/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/src/thread/
H A Dsem_open.c26 } *semtab; variable
50 if (!semtab && !(semtab = calloc(sizeof *semtab, SEM_NSEMS_MAX))) { in sem_open()
60 cnt += semtab[i].refcnt; in sem_open()
149 semtab[slot].sem = 0; in sem_open()
151 map = semtab[i].sem; in sem_open()
153 semtab[slot].refcnt++; in sem_open()
154 semtab[slot].sem = map; in sem_open()
163 semtab[slot].sem = 0; in sem_open()
173 if (--semtab[i].refcnt) { in sem_close()
177 semtab[i].sem = 0; in sem_close()
[all …]
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/thread/
H A Dsem_open.c26 } *semtab; variable
50 if (!semtab && !(semtab = calloc(sizeof *semtab, SEM_NSEMS_MAX))) { in sem_open()
60 cnt += semtab[i].refcnt; in sem_open()
149 semtab[slot].sem = 0; in sem_open()
151 map = semtab[i].sem; in sem_open()
153 semtab[slot].refcnt++; in sem_open()
154 semtab[slot].sem = map; in sem_open()
163 semtab[slot].sem = 0; in sem_open()
173 if (--semtab[i].refcnt) { in sem_close()
177 semtab[i].sem = 0; in sem_close()
[all …]
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/src/thread/
H A Dsem_open.c26 } *semtab; variable
50 if (!semtab && !(semtab = calloc(sizeof *semtab, SEM_NSEMS_MAX))) { in sem_open()
60 cnt += semtab[i].refcnt; in sem_open()
149 semtab[slot].sem = 0; in sem_open()
151 map = semtab[i].sem; in sem_open()
153 semtab[slot].refcnt++; in sem_open()
154 semtab[slot].sem = map; in sem_open()
163 semtab[slot].sem = 0; in sem_open()
173 if (--semtab[i].refcnt) { in sem_close()
177 semtab[i].sem = 0; in sem_close()
[all …]
/dports/lang/zig/zig-0.9.0/lib/libc/musl/src/thread/
H A Dsem_open.c26 } *semtab; variable
50 if (!semtab && !(semtab = calloc(sizeof *semtab, SEM_NSEMS_MAX))) { in sem_open()
60 cnt += semtab[i].refcnt; in sem_open()
149 semtab[slot].sem = 0; in sem_open()
151 map = semtab[i].sem; in sem_open()
153 semtab[slot].refcnt++; in sem_open()
154 semtab[slot].sem = map; in sem_open()
163 semtab[slot].sem = 0; in sem_open()
173 if (--semtab[i].refcnt) { in sem_close()
177 semtab[i].sem = 0; in sem_close()
[all …]
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/thread/
H A Dsem_open.c26 } *semtab; variable
50 if (!semtab && !(semtab = calloc(sizeof *semtab, SEM_NSEMS_MAX))) { in sem_open()
60 cnt += semtab[i].refcnt; in sem_open()
149 semtab[slot].sem = 0; in sem_open()
151 map = semtab[i].sem; in sem_open()
153 semtab[slot].refcnt++; in sem_open()
154 semtab[slot].sem = map; in sem_open()
163 semtab[slot].sem = 0; in sem_open()
173 if (--semtab[i].refcnt) { in sem_close()
177 semtab[i].sem = 0; in sem_close()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/src/thread/
H A Dsem_open.c20 } *semtab; variable
43 if (!semtab && !(semtab = calloc(sizeof *semtab, SEM_NSEMS_MAX))) { in sem_open()
53 cnt += semtab[i].refcnt; in sem_open()
142 semtab[slot].sem = 0; in sem_open()
144 map = semtab[i].sem; in sem_open()
146 semtab[slot].refcnt++; in sem_open()
147 semtab[slot].sem = map; in sem_open()
156 semtab[slot].sem = 0; in sem_open()
166 if (!--semtab[i].refcnt) { in sem_close()
167 semtab[i].sem = 0; in sem_close()
[all …]
/dports/devel/emscripten/emscripten-2.0.3/system/lib/libc/musl/src/thread/
H A Dsem_open.c22 } *semtab; variable
45 if (!semtab && !(semtab = calloc(sizeof *semtab, SEM_NSEMS_MAX))) { in sem_open()
55 cnt += semtab[i].refcnt; in sem_open()
144 semtab[slot].sem = 0; in sem_open()
146 map = semtab[i].sem; in sem_open()
148 semtab[slot].refcnt++; in sem_open()
149 semtab[slot].sem = map; in sem_open()
158 semtab[slot].sem = 0; in sem_open()
168 if (!--semtab[i].refcnt) { in sem_close()
169 semtab[i].sem = 0; in sem_close()
[all …]
/dports/lang/nim/nim-1.6.2/compiler/
H A Dmodulegraphs.nim169 template semtab(g: ModuleGraph, m: PSym): TStrTable =
176 initStrTable(semtab(g, m))
180 strTableAdd(semtab(g, m), s)