解决priority_queue改进唤醒逻辑后导致容易hang死的bug
This commit is contained in:
2
deps/oblib/src/lib/queue/ob_priority_queue.h
vendored
2
deps/oblib/src/lib/queue/ob_priority_queue.h
vendored
@ -172,7 +172,7 @@ public:
|
|||||||
|
|
||||||
int pop_high(ObLink*& data, int64_t timeout_us)
|
int pop_high(ObLink*& data, int64_t timeout_us)
|
||||||
{
|
{
|
||||||
return do_pop(data, HIGH_PRIOS, timeout_us);
|
return do_pop(data, HIGH_HIGH_PRIOS + HIGH_PRIOS, timeout_us);
|
||||||
}
|
}
|
||||||
|
|
||||||
int pop_high_high(ObLink*& data, int64_t timeout_us)
|
int pop_high_high(ObLink*& data, int64_t timeout_us)
|
||||||
|
|||||||
Reference in New Issue
Block a user