Home | History | Annotate | Download | only in pthread_detach

Lines Matching refs:scenarii

92  * scenarii: array of struct __scenario type.
93 * NSCENAR : macro giving the total # of scenarii
94 * scenar_init(): function to call before use the scenarii array.
95 * scenar_fini(): function to call after end of use of the scenarii array.
125 ret = sem_post(&(scenarii[sc].sem));
154 scenarii[sc].descr);
157 if (scenarii[sc].detached != 0) { /* only joinable threads can be detached */
159 pthread_attr_setdetachstate(&scenarii[sc].ta,
167 /* for detached scenarii, we will call pthread_detach from inside the thread.
168 for joinable scenarii, we'll call pthread_detach from this thread. */
171 pthread_create(&child, &scenarii[sc].ta, threaded,
172 (scenarii[sc].detached != 0) ? &ret : NULL);
173 switch (scenarii[sc].result) {
202 if (scenarii[sc].detached == 0) {
229 ret = sem_timedwait(&(scenarii[sc].sem), &ts);