Home | History | Annotate | Download | only in pthread_setcancelstate

Lines Matching refs:cancel_flag

18  *    PTHREAD_CANCEL_DISABLE and the cancel_flag to -1.
20 * 4. If the cancel request was honored, the cancel_flag will remain -1.
21 * 5. If not, the thread will continue until the end of execution, cancel_flag will be set to 1
35 int cancel_flag;
43 cancel_flag = -1;
53 /* If the thread incorrectly honors the cancel request, then the cancel_flag will
54 * remain -1. If it contiues on with the thread execution, then the cancel_flag
60 cancel_flag = 1;
71 cancel_flag = 0;
101 if (cancel_flag <= 0) {