• Home
  • Raw
  • Download

Lines Matching full:xargs

366    volatile Word* xargs = (volatile Word*) xargsV;  in mythread_wrapper()  local
367 void*(*fn)(void*) = (void*(*)(void*))xargs[0]; in mythread_wrapper()
368 void* arg = (void*)xargs[1]; in mythread_wrapper()
374 hence deallocate xargs[] while we still need it, and (2) we in mythread_wrapper()
381 disables checking on xargs[] before creating the child and in mythread_wrapper()
387 xargs[2] = 0; in mythread_wrapper()
388 /* Now we can no longer safely use xargs[]. */ in mythread_wrapper()
407 volatile Word xargs[3]; in pthread_create_WRK() local
413 xargs[0] = (Word)start; in pthread_create_WRK()
414 xargs[1] = (Word)arg; in pthread_create_WRK()
415 xargs[2] = 1; /* serves as a spinlock -- sigh */ in pthread_create_WRK()
423 VALGRIND_HG_DISABLE_CHECKING(&xargs, sizeof(xargs)); in pthread_create_WRK()
427 CALL_FN_W_WWWW(ret, fn, thread,attr,mythread_wrapper,&xargs[0]); in pthread_create_WRK()
434 while (xargs[2] != 0) { in pthread_create_WRK()
436 xargs[2]. However, that can lead to starvation in the in pthread_create_WRK()
449 VALGRIND_HG_ENABLE_CHECKING(&xargs, sizeof(xargs)); in pthread_create_WRK()
495 volatile Word xargs[3]; in thr_create_WRK() local
501 xargs[0] = (Word)start; in thr_create_WRK()
502 xargs[1] = (Word)arg; in thr_create_WRK()
503 xargs[2] = 1; /* serves as a spinlock -- sigh */ in thr_create_WRK()
505 VALGRIND_HG_DISABLE_CHECKING(&xargs, sizeof(xargs)); in thr_create_WRK()
515 while (xargs[2] != 0) { in thr_create_WRK()
523 VALGRIND_HG_ENABLE_CHECKING(&xargs, sizeof(xargs)); in thr_create_WRK()