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