问题是这样的, 比如用 pthread_create 创建了两个线程, 每个线程都输出 hello world 问题是, 怎么获得线程 1 输出 helloworld 的次数 和线程 2 输出的次数呢?