commit | eb66a6573daad7eae2d058c51a7e31bf7911e5ad | [log] [tgz] |
---|---|---|
author | Chris Dickens <christopher.a.dickens@gmail.com> | Wed Jan 22 09:43:37 2020 -0800 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Wed Jan 22 09:43:37 2020 -0800 |
tree | 150e8cc382de72de8bb1be408d20701e2cb76c77 | |
parent | e4e905700327f9f85791b23f09185ba84baa7549 [diff] |
Windows: Kill the dedicated thread for monotonic clock_gettime() According to Microsoft, anything prior to Vista could provide inconsistent results for the value of QueryPerformanceCounter() across different cores. Now that XP is no longer supported, we can drop the significant overhead of using a dedicated thread pinned to a single core just to read a timestamp. The C++11 steady_clock implementation directly wraps QueryPerformanceCounter(), so if it is good enough for that then it is good enough for our purposes. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)