... void *busy(void *ptr) { // ptr will point to "Hi" puts("Hello World"); ... myfunc, &start); // OK - start will be valid! pthread_join(tid, &result); }.
確定! 回上一頁