Re: [Mingw-w64-public] [PATCH] headers: Add coclasses in rdpencomapi.idl

2021-04-28 Thread Liu Hao
在 2021-04-29 01:47, Biswapriyo Nath 写道: It seems that lh_mouse misses my previous updated patch of rdpencomapi.idl. I should have sent full patch at once. But no problem. Here is the addition to that rdpencomapi.idl. Also Makefile.in was not regenerated last time. Oops, apologies. Updated and

Re: [Mingw-w64-public] [PATCH] crt: Increase precision of gettimeofday() if possible.

2021-04-28 Thread Vincent Torri
On Wed, Apr 28, 2021 at 9:35 PM Christian Franke wrote: > > Liu Hao wrote: > > 在 4/27/21 2:00 AM, Christian Franke 写道: > >> > >> Which complexity do you mean - the extra cost of the system call or > >> the extra 15 lines of code? > >> > > > > It's actually both. > > > > Wall clocks are not meant t

Re: [Mingw-w64-public] [PATCH] crt: Increase precision of gettimeofday() if possible.

2021-04-28 Thread Christian Franke
Liu Hao wrote: 在 4/27/21 2:00 AM, Christian Franke 写道: Which complexity do you mean - the extra cost of the system call or the extra 15 lines of code? It's actually both. Wall clocks are not meant to be steady, because they are free to jump back and forth due to NTP synchronization, and

Re: [Mingw-w64-public] [PATCH] crt: Increase precision of gettimeofday() if possible.

2021-04-28 Thread sotrdg sotrdg
https://github.com/expnkx/fast_io/blob/725695664091bc4e8fbb05df446aaad93642bbf5/include/fast_io_hosted/time.h#L406 This is my implementation for clock_gettime Sent from Mail for Windows 10 From: Corinna Vinschen Sent: Wed

Re: [Mingw-w64-public] [PATCH] crt: Increase precision of gettimeofday() if possible.

2021-04-28 Thread Corinna Vinschen
On Apr 26 20:00, Christian Franke wrote: > System calls and resolutions of C++11 clocks: > >    Mingw-w64 MSVC16  Cygwin > system_clock::now()   1    2   2 > steady_clock::now()   1    3   3 > high_resolution_clock::now()  1  

[Mingw-w64-public] [PATCH] headers: Add coclasses in rdpencomapi.idl

2021-04-28 Thread Biswapriyo Nath
It seems that lh_mouse misses my previous updated patch of rdpencomapi.idl. I should have sent full patch at once. But no problem. Here is the addition to that rdpencomapi.idl. Also Makefile.in was not regenerated last time. From aa44619f81115fab1cc41804d9531295a87db7f0 Mon Sep 17 00:00:00 2001 Fro

Re: [Mingw-w64-public] Add missing function declarations to mingw-w64-headers/include/shlwapi.h

2021-04-28 Thread DAVID MAY
Thank you for your feedback. I removed those changes. Updated patch attached. -- David May On 28/04/2021 5:59 pm, Liu Hao wrote: > 在 4/28/21 12:50 PM, DAVID MAY 写道: >> Thanks for the feedback. >> >> Regarding points 1 and 2: While changing the #ifdefs and adding comments >> (actually just label

Re: [Mingw-w64-public] [PATCH] headers/sec_api: Add strnlen_s definition.

2021-04-28 Thread Liu Hao
在 2021-04-28 14:31, Biswapriyo Nath 写道: Subject: [PATCH] headers/sec_api: Add strnlen_s definition. Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/crt/sec_api/string_s.h | 4 1 file changed, 4 insertions(+) Subject: [PATCH] headers: Add rdpencomapi.idl file. Signed-off-by: Biswa

Re: [Mingw-w64-public] Add missing function declarations to mingw-w64-headers/include/shlwapi.h

2021-04-28 Thread Liu Hao
在 4/28/21 12:50 PM, DAVID MAY 写道: Thanks for the feedback. Regarding points 1 and 2: While changing the #ifdefs and adding comments (actually just labels) was not necessary, keeping track of the unlabelled #ifdefs and #ifs gave me headaches.  The labels helped. Anyway, all labels are now removed

Re: [Mingw-w64-public] [PATCH] crt: Increase precision of gettimeofday() if possible.

2021-04-28 Thread Liu Hao
在 4/27/21 2:00 AM, Christian Franke 写道: Which complexity do you mean - the extra cost of the system call or the extra 15 lines of code? It's actually both. Wall clocks are not meant to be steady, because they are free to jump back and forth due to NTP synchronization, and arithmetic operat