www.fltk.net > spinloCk.h

spinloCk.h

在kernel2.4.20下面: include spinlock_t mysiglock = SPIN_LOCK_UNLOCKED; unsigned int flags; 再加上这个 #include

如果用 VC 可以利用 _InterlockedExchange 编译器内建函数: #ifndef _SPINLOCK_H_#define _SPINLOCK_H_#include #include ...

网站地图

All rights reserved Powered by www.fltk.net

copyright ©right 2010-2021。
www.fltk.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com