← Back to index
|
Original Bugzilla link
Bug 20026 – retrying while pthread_cond_signal/pthread_cond_broadcast return EAGAIN
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Mac OS X
Creation time
2019-07-04T11:56:17Z
Last change time
2019-07-04T13:09:34Z
Keywords
pull
Assigned to
No Owner
Creator
Hiroki Noda
Comments
Comment #0
by kubo39 — 2019-07-04T11:56:17Z
Since OS X 10.7 (Lion), pthread_cond_signal returns EAGAIN after retrying 8192 times, so need to retrying while it returns EAGAIN. 10.7.0 (Lion):
http://www.opensource.apple.com/source/Libc/Libc-763.11/pthreads/pthread_cond.c
10.8.0 (Mountain Lion):
http://www.opensource.apple.com/source/Libc/Libc-825.24/pthreads/pthread_cond.c
10.10.0 (Yosemite):
http://www.opensource.apple.com/source/libpthread/libpthread-105.1.4/src/pthread_cond.c
10.11.0 (El Capitan):
http://www.opensource.apple.com/source/libpthread/libpthread-137.1.1/src/pthread_cond.c
10.12.0 (Sierra):
http://www.opensource.apple.com/source/libpthread/libpthread-218.1.3/src/pthread_cond.c
10.13.0 (High Sierra):
http://www.opensource.apple.com/source/libpthread/libpthread-301.1.6/src/pthread_cond.c
10.14.0 (Mojave):
http://www.opensource.apple.com/source/libpthread/libpthread-330.201.1/src/pthread_cond.c
10.14.1 (Mojave:latest):
http://www.opensource.apple.com/source/libpthread/libpthread-330.220.2/src/pthread_cond.c
Comment #1
by dlang-bot — 2019-07-04T12:00:06Z
@kubo39 updated dlang/druntime pull request #2661 "Fix 20026 - retrying while pthread_cond_signal/pthread_cond_broadcast…" fixing this issue: - Fix Issue 20026 - retrying while pthread_cond_signal/pthread_cond_broadcast return EAGAIN
https://github.com/dlang/druntime/pull/2661
Comment #2
by dlang-bot — 2019-07-04T13:09:34Z
dlang/druntime pull request #2661 "Fix Issue 20026 - retrying while pthread_cond_signal/pthread_cond_broadcast…" was merged into stable: - 48b024fd4981dbf5e24e752ecdffbae81de36acb by Hiroki Noda: Fix Issue 20026 - retrying while pthread_cond_signal/pthread_cond_broadcast return EAGAIN
https://github.com/dlang/druntime/pull/2661