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