123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #include "test.h"
- static void * func(void * param)
- {
- pthread_exit((void *) 0);
-
- assert(0);
- }
- int pthread_test_exit1()
- {
- pthread_t id;
-
- assert(pthread_create(&id, NULL, func, 0) == 0);
-
- pte_osThreadSleep(1000);
- assert(pthread_join(id,NULL) == 0);
- return 0;
- }
|