1
/* ==== test_pthread_cond.c =========================================
2
* Copyright (c) 1993 by Chris Provenzano, proven@athena.mit.edu
4
* Description : Test pthread_cond(). Run this after test_create()
7
* -Started coding this file.
13
void* new_thread(void * new_buf)
17
for (i = 0; i < 10; i++) {
20
printf("test_preemption PASSED\n");
29
printf("test_preemption START\n");
31
if (pthread_create(&thread, NULL, new_thread, NULL)) {
32
printf("pthread_create failed\n");