
POSIX
笑颜″
这个作者很懒,什么都没留下…
展开
-
values.h 替换为 float.h
values.h is an old UNIX standard file it was documented in issues 1 and 2 of the X/Open Portability Guide. float.h was standardized in ANSI C in 1989 and had become widely used before then. values.h w...原创 2019-01-22 21:24:21 · 416 阅读 · 0 评论 -
获取线程独有数据方法 (POSIX标准方法)
static pthread_once_t current_thread_data_once = PTHREAD_ONCE_INIT; static pthread_key_t current_thread_data_key; static void destroy_current_thread_data(void *p) { printf("func: %s\...原创 2019-05-06 15:35:32 · 298 阅读 · 0 评论