diff options
| author | Kunshan Wang <wks1986@gmail.com> | 2025-04-01 12:07:47 +0800 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-04-02 10:47:52 -0400 |
| commit | ce1dfe81c2ef148aa6f0f2bb51ee373f68cefd04 (patch) | |
| tree | 312069c361dd67685e2041e17dff21adf7b88def /string.c | |
| parent | 580aa60051773e3512121088eb8ebaee8ce605ea (diff) | |
[DOC] Doc for Thread::ConditionVariable
Documented the necessity of calling `wait` in a loop. We modified the
example to demonstrate the idiomatic use, and added a third thread `a2`
to demonstrate another reason that necessitates the loop.
Mentioned spurious wake-up in the doc.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13024
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions
