Home
last modified time | relevance | path

Searched refs:oldtype (Results 1 – 3 of 3) sorted by relevance

/relibc/pthreads-emb/tests/
H A Dcancel1.c123 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()
/relibc/pthreads-emb/
H A Dpthread_setcanceltype.c48 pthread_setcanceltype (int type, int *oldtype) in pthread_setcanceltype() argument
115 if (oldtype != NULL) in pthread_setcanceltype()
117 *oldtype = sp->cancelType; in pthread_setcanceltype()
H A Dpthread.h735 int *oldtype);