chenBright commented on PR #2907: URL: https://github.com/apache/brpc/pull/2907#issuecomment-3089867614
> 那这个可能是 corner case,这种永远能都唤醒 + waiter num 偶尔是 0 的 case,这个 MR 可能确实是负优化。绝大多数情况,特别是永远都唤醒不了的 case,这个 MR 优化是比较大的。 @JimChengLin 我觉得这里还是有问题:当前只有一个worker wait的同时,non-worker起了一个任务,选中了该worker,signal时没同步到waiter num,也会出现信号丢失,task 永远不会被消。类似https://github.com/apache/brpc/pull/2916#issuecomment-2728608117 -- 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