yanglimingcn commented on PR #2492: URL: https://github.com/apache/brpc/pull/2492#issuecomment-2295801526
_cur_enqueue_node看上去每次执行都要设置成NULL,这个是必要的吗? 是不是把 node = _cur_enqueue_node.load(memory_order_relaxed);换成 node = _cur_enqueue_node.exchange(NULL, memory_order_relaxed); 就可以了呢? 你们在实际场景用了吗?我这边有需求,打算用用。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org