Home | History | Annotate | Download | only in helgrind

Lines Matching defs:xargs

196    volatile Word* xargs = (volatile Word*) xargsV;
197 void*(*fn)(void*) = (void*(*)(void*))xargs[0];
198 void* arg = (void*)xargs[1];
204 hence deallocate xargs[] while we still need it, and (2) we
211 disables checking on xargs[] before creating the child and
217 xargs[2] = 0;
218 /* Now we can no longer safely use xargs[]. */
237 volatile Word xargs[3];
243 xargs[0] = (Word)start;
244 xargs[1] = (Word)arg;
245 xargs[2] = 1; /* serves as a spinlock -- sigh */
253 VALGRIND_HG_DISABLE_CHECKING(&xargs, sizeof(xargs));
255 CALL_FN_W_WWWW(ret, fn, thread,attr,mythread_wrapper,&xargs[0]);
260 while (xargs[2] != 0) {
262 xargs[2]. However, that can lead to starvation in the
275 VALGRIND_HG_ENABLE_CHECKING(&xargs, sizeof(xargs));