No thread safety in clock_gettime (hires_ns::prime)

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Nov 27 13:07:00 GMT 2018


On Nov 27 11:19, Houder wrote:
> On Tue, 27 Nov 2018 10:37:38, Corinna Vinschen  wrote:
> > 
> > On Nov 26 19:07, Houder wrote:
> [snip]
> 
> > > 64-@@ uname -a
> > > CYGWIN_NT-6.1 Seven 2.11.3(0.329/5/3)  x86_64 Cygwin
> > > 64-@@ ls -l /bin/cygwin1*
> > > -rwxr-xr-x 1 Henri None 3339661 Nov  8 14:36 /bin/cygwin1-2.11.2.X
> > > -rwxr-xr-x 1 Henri None 3337995 Nov 26 18:43 /bin/cygwin1-64-20181126.X
> > > -rwxr-xr-x 1 Henri None 3337995 Nov 26 18:43 /bin/cygwin1.dll
> > > 64-@@ cd threads
> [snip]
> 
> > > 64-@@ for loop in {1..10000}; do ./cyg_hires_clock_race.exe; done
> > > 64-@@# That is enough!
> > 
> > Thanks a lot for testing!  (Particulary since I couldn't even
> > reproduce this on W7)
> 
> Perhaps my machine is a bit "peculiar" ... :-)

I guess mine are the peculiar ones, being VMs :}


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20181127/fb47a61e/attachment.sig>


More information about the Cygwin mailing list