Re: [PATCH] Fix possible infinite loop in hires_ms::timeGetTime_ns()

2012-03-20 Thread Corinna Vinschen
On Mar 20 18:48, Christian Franke wrote: > ntdll.h:SharedUserData misses a volatile qualifier. This (at least) > may result in an infinite loop in hires_ms::timeGetTime_ns(). > Fortunately this could only happen if LowPart wraps around during > the function call. > > Generated code: > > $ objdump

[PATCH] Fix possible infinite loop in hires_ms::timeGetTime_ns()

2012-03-20 Thread Christian Franke
ntdll.h:SharedUserData misses a volatile qualifier. This (at least) may result in an infinite loop in hires_ms::timeGetTime_ns(). Fortunately this could only happen if LowPart wraps around during the function call. Generated code: $ objdump -d -C times.o ... 1160 : 1160: 55 pus