Home
last modified time | relevance | path

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

/netbsd-src/lib/libc/rpc/
H A Dsvc_fdset.c76 static thread_key_t fdsetkey = -2; variable
282 if (!__isthreaded || fdsetkey == -2) in svc_fdset_alloc()
285 if (fdsetkey == -1) in svc_fdset_alloc()
286 thr_keycreate(&fdsetkey, svc_fdset_free); in svc_fdset_alloc()
288 if ((fds = thr_getspecific(fdsetkey)) == NULL) { in svc_fdset_alloc()
294 (void)thr_setspecific(fdsetkey, fds); in svc_fdset_alloc()
317 if ((flags & SVC_FDSET_MT) && fdsetkey == -2) in svc_fdset_init()
318 fdsetkey = -1; in svc_fdset_init()