Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | win32: increase hires timer resolution | nanahi | 2024-03-19 | 1 | -1/+1 |
| | | | | | | | | | | | timeBeginPeriod() only allows setting minimum timer resolution to 1 ms. However, modern x86 platforms support a minimum timer resolution of 0.5 ms. Use NtSetTimerResolution() instead for the increased resolution, which can be set with MPV_HRT_RES. Additionally, change the units of mp_start_hires_timers(), mp_end_hires_timer(), MPV_HRT_RES, and MPV_HRT_MAX to nanoseconds, in accordance with other functions used in timer.h. | ||||
* | osdep/threads: fix warning: initializer element is not constant | nanahi | 2024-03-19 | 1 | -1/+1 |
| | |||||
* | threads-win32: add comment about local decl of a function | Kacper Michajłow | 2023-11-08 | 1 | -0/+1 |
| | |||||
* | threads-win32: support UWP in mp_thread_set_name | Kacper Michajłow | 2023-11-08 | 1 | -3/+7 |
| | |||||
* | threads: unbreak mpv on builds without asserts | Kacper Michajłow | 2023-11-06 | 1 | -3/+0 |
| | | | | | | Also remove duplicated macro. Fixes: #12818 #12820 | ||||
* | mp_thread: add win32 implementation | Kacper Michajłow | 2023-11-05 | 1 | -0/+222 |