![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
并行编程
文章平均质量分 54
浪子丶不回头
这个作者很懒,什么都没留下…
展开
-
多核多线程精确上限计数
/************************************************************************* > File Name: counter.c > Author: Tom > Mail: > Function: > Created Time: Sat 09 Apr 2022 11:56:29 PM HKT **************************************原创 2022-04-10 23:29:54 · 163 阅读 · 0 评论 -
单线程执行任务和无锁链表
#include <stdio.h>#include <stdlib.h>#include <poll.h>#include <pthread.h>#define offsetof(type, member) (size_t)&(((type *)(0))->member)#define contain_of(ptr, t...原创 2019-09-04 13:19:35 · 158 阅读 · 0 评论