diff --git a/skynet_harbor.c b/skynet_harbor.c index 6d730543..5d589f4c 100644 --- a/skynet_harbor.c +++ b/skynet_harbor.c @@ -550,6 +550,7 @@ _goback: // double check if (!skynet_remotemq_pop(Z->queue,&msg)) { printf("goback %x\n",msg.destination); + __sync_lock_test_and_set(&Z->notice_event, 1); goto _goback; } }