Lines Matching refs:protect
97 static void *protect(void *p)
119 * Repeatedly try to protect the common region with a permissive
164 * Repeatedly try to protect the common region with a restrictive
287 * the one from the protect-and-access thread since the other
294 /* Setup barrier for protect and protect-and-access threads */
298 /* Setup and start protect and protect-and-read threads */
299 puts("starting thread pair (protect, protect-and-read)");
301 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0);
306 /* Setup and start protect and protect-and-write threads */
307 puts("starting thread pair (protect, protect-and-write)");
309 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0);
314 /* Setup and start protect and protect-and-execute threads */
315 puts("starting thread pair (protect, protect-and-execute)");
317 FAIL_IF(pthread_create(&prot_thread, &attr, &protect, &r) != 0);