mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
Update skynet_mq.c
Comment error:-)
This commit is contained in:
@@ -84,7 +84,7 @@ skynet_mq_create(uint32_t handle) {
|
|||||||
SPIN_INIT(q)
|
SPIN_INIT(q)
|
||||||
// When the queue is create (always between service create and service init) ,
|
// When the queue is create (always between service create and service init) ,
|
||||||
// set in_global flag to avoid push it to global queue .
|
// set in_global flag to avoid push it to global queue .
|
||||||
// If the service init success, skynet_context_new will call skynet_mq_force_push to push it to global queue.
|
// If the service init success, skynet_context_new will call skynet_mq_push to push it to global queue.
|
||||||
q->in_global = MQ_IN_GLOBAL;
|
q->in_global = MQ_IN_GLOBAL;
|
||||||
q->release = 0;
|
q->release = 0;
|
||||||
q->overload = 0;
|
q->overload = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user