| 93 | } |
| 94 | |
| 95 | static void test_thread(void) |
| 96 | { |
| 97 | acl_pthread_attr_t attr; |
| 98 | acl_pthread_t t1; |
| 99 | |
| 100 | acl_pthread_attr_init(&attr); |
| 101 | acl_pthread_attr_setstacksize(&attr, 10240000); |
| 102 | acl_pthread_create(&t1, &attr, thread_main, NULL); |
| 103 | acl_pthread_join(t1, NULL); |
| 104 | printf(">>> test_pthread_once: over now, enter any key to exit...\n"); |
| 105 | getchar(); |
| 106 | } |
| 107 | |
| 108 | int main(int argc acl_unused, char *argv[] acl_unused) |
| 109 | { |
no test coverage detected
searching dependent graphs…