Searched refs:oldtype (Results 1 – 3 of 3) sorted by relevance
123 int oldtype; in mythread()125 assert(pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldtype) == 0); in mythread()126 assert(oldtype == PTHREAD_CANCEL_DEFERRED); /* Check default */ in mythread()129 assert(pthread_setcanceltype(oldtype, &oldtype) == 0); in mythread()130 assert(oldtype == PTHREAD_CANCEL_ASYNCHRONOUS); /* Check setting */ in mythread()
48 pthread_setcanceltype (int type, int *oldtype) in pthread_setcanceltype() argument115 if (oldtype != NULL) in pthread_setcanceltype()117 *oldtype = sp->cancelType; in pthread_setcanceltype()
735 int *oldtype);