remove read barrier

This commit is contained in:
云风
2012-10-16 10:32:21 +08:00
parent 9bb385938e
commit 2dc3cdc932

View File

@@ -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];