页首Html代码

返回顶部
摘要: 我以为pthread_win32 完全兼容posix 的pthread呢,结果发现,至少有一个地方不同,pthread_t的类型。posix下pthread_t的类型是:typedef unsigned long int pthread_t;//come from /usr/include/bits/pthread.h//用途:pthread_t用于声明线程ID。//sizeof (pthread_t) =4;而pthread_win32 是:/* * Generic handle type - intended to extend uniqueness beyond * that avail 阅读全文
posted @ 2012-08-07 14:31 ayanmw 阅读(4977) 评论(1) 推荐(0) 编辑

页脚Html代码