Lines Matching defs:cancel_flag
13 * 2. In the thread function, set cancel_flag to 1.
15 * 4. If the cancel request was honored, the cancel_flag will remain 1.
16 * 5. If not, the thread will continue until the end of execution, cancel_flag will be set to -1
30 int cancel_flag;
40 cancel_flag = 1;
50 /* If the thread correctly honors the cancel request, then the cancel_flag will
51 * 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) {