jinshuai86 commented on issue #2456: URL: https://github.com/apache/brpc/issues/2456#issuecomment-3138910992
> > 如果在bthread中调用pthread_mutex_lock的话,如果是等待拿锁,那么这个时候,bthread是不会切换工作线程的。不知道是不是可以这么理解? > > 是的 想问下,如果 bthread 只是调用阻塞 pthread 的 API(read、write),在 bthread 和 pthread 等待期间或者被唤醒后,会触发当前 bthread 切换到其它 pthread 吗? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
