此代码是否可以正常运行? atomic_int与_Atomic(int)
之间有什么区别? struct a {
int xyz;
volatile _Atomic(unsigned int) status;
int eee;
};
threadOne(void *)
{
a->status |= QW;
}
threadTwo(void *)
{
a->status |= ER;
}
答案 0 :(得分:2)