Add flag for bthread priority queue, the default is false#3078
Add flag for bthread priority queue, the default is false#3078chenBright merged 2 commits intoapache:masterfrom
Conversation
|
LGTM |
da7964c to
8485222
Compare
|
LGTM |
|
@chenBright 看起来是通过flag暂时关闭这个功能?如果我设置enable_bthread_priority_queue为true,还是会hung死吧 |
现在只有epoll bthread才有BTHREAD_GLOBAL_PRIORITY,应该不会出现这个问题了吧。 |
FLAGS_event_dispatcher_num > 1 的情况下,应该还是会有多个吧 |
是的,后续找时间修一下这个问题。 |
|
_enable_priority_queue is not default initialized to false and may be true or false. I fixed it in #3096 |
如https://github.com/apache/brpc/issues/3030提到的, |
还没。 |
What problem does this PR solve?
Issue Number: #3030
Problem Summary:
What is changed and the side effects?
Changed:
Side effects:
Performance effects:
Breaking backward compatibility:
Check List: