设为首页 加入收藏

TOP

[并发并行]_[线程同步]_[C/C++实现单例模式分析](二)
2015-11-21 00:54:28 来源: 作者: 【 】 浏览:4
Tags:并发 并行 线程 同步 C/C 实现 单例 模式 分析
#ifdef _MSC_VER #pragma inline_depth(0) #endif pthread_cleanup_push(ptw32_once_on_init_cancel, (void *)&node); (*init_routine)(); pthread_cleanup_pop(0); #ifdef _MSC_VER #pragma inline_depth() #endif once_control->done = PTW32_TRUE; } ptw32_mcs_lock_release(&node); } return 0; } /* pthread_once */
?
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇leetcode笔记:Best Time to Buy .. 下一篇leetcode笔记:Best Time to Buy ..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: