linux字符设备并发访问控制1.使用原子变量1.1.原子变量类型123typedef struct{ int counter;}atomic_t;
1.2.常用的api1234567static inline
2022-06-24