Home | History | Annotate | Download | only in pthread_testcancel

Lines Matching defs:cancel_flag

14  *    PTHREAD_CANCEL_DISABLE and the cancel_flag to -1.
16 * 4. If the cancel request was honored, the cancel_flag will remain -1.
17 * 5. If not, the thread will continue until the end of execution, cancel_flag will be set to 1
31 int cancel_flag;
39 cancel_flag = -1;
49 /* If the thread incorrectly honors the cancel request, then the cancel_flag will
50 * remain -1. If it contiues on with the thread execution, then the cancel_flag
56 cancel_flag = 1;
67 cancel_flag = 0;
97 if (cancel_flag <= 0) {