Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Datfork.c52 atfork_t *atfp; in pthread_atfork() local
62 } else if ((atfp = lmalloc(sizeof (atfork_t))) == NULL) { in pthread_atfork()
65 atfp->prepare = prepare; in pthread_atfork()
66 atfp->parent = parent; in pthread_atfork()
67 atfp->child = child; in pthread_atfork()
69 udp->atforklist = atfp; in pthread_atfork()
70 atfp->forw = atfp->back = atfp; in pthread_atfork()
72 head->back->forw = atfp; in pthread_atfork()
73 atfp->forw = head; in pthread_atfork()
74 atfp->back = head->back; in pthread_atfork()
[all …]
H A Datexit.c243 atfork_t *atfp; in _preexec_atfork_unload() local
250 atfp = atfork_q; in _preexec_atfork_unload()
252 next = atfp->forw; in _preexec_atfork_unload()
255 if (((func = atfp->prepare) != NULL && in _preexec_atfork_unload()
257 ((func = atfp->parent) != NULL && in _preexec_atfork_unload()
259 ((func = atfp->child) != NULL && in _preexec_atfork_unload()
268 atfp->prepare = NULL; in _preexec_atfork_unload()
269 atfp->parent = NULL; in _preexec_atfork_unload()
270 atfp->child = NULL; in _preexec_atfork_unload()
273 if (atfp == atfork_q) { in _preexec_atfork_unload()
[all …]