Skip to content

support wait with predicate in bthread's ConditionVariable#3195

Merged
zyearn merged 1 commit intoapache:masterfrom
MJY-HUST:expand_cv
Jan 18, 2026
Merged

support wait with predicate in bthread's ConditionVariable#3195
zyearn merged 1 commit intoapache:masterfrom
MJY-HUST:expand_cv

Conversation

@MJY-HUST
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: resolve

Problem Summary:
bthread 级别条件变量(ConditionVariable)支持条件等待
https://en.cppreference.com/w/cpp/thread/condition_variable/wait

What is changed and the side effects?

Changed:

Side effects:

  • Performance effects:

  • Breaking backward compatibility:


Check List:

Copy link
Copy Markdown
Contributor

@chenBright chenBright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yanglimingcn
Copy link
Copy Markdown
Contributor

LGTM

1 similar comment
@wwbmmm
Copy link
Copy Markdown
Contributor

wwbmmm commented Jan 16, 2026

LGTM

@zyearn zyearn merged commit 39666a4 into apache:master Jan 18, 2026
17 checks passed
zchuango pushed a commit to zchuango/brpc that referenced this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants