www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20026] New: retrying while

https://issues.dlang.org/show_bug.cgi?id=20026

          Issue ID: 20026
           Summary: retrying while
                    pthread_cond_signal/pthread_cond_broadcast return
                    EAGAIN
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: kubo39 gmail.com

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

--
Jul 04 2019