Home | History | Annotate | Download | only in common

Lines Matching defs:nn

60     int         nn, value;
69 for ( nn = 0; nn < MAX_THREADS; nn++ ) {
70 if ( pthread_create( &t[nn], NULL, thread_func, &semaphore ) < 0 ) {
71 printf("Could not create thread %d: %s\n", nn+1, strerror(errno) );
77 for (nn = 0; nn < MAX_THREADS; nn++) {
81 for ( nn = 0; nn < MAX_THREADS; nn++) {
83 pthread_join(t[nn], &result);
84 if (result != (void*)t[nn]) {
85 printf("Thread %p joined but returned %p\n", (void*)t[nn], result);