mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
remove read barrier
This commit is contained in:
@@ -60,8 +60,6 @@ skynet_globalmq_pop() {
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
__sync_synchronize();
|
|
||||||
|
|
||||||
if(!q->flag[head_ptr]) {
|
if(!q->flag[head_ptr]) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user