-*version9.txt* For Vim version 9.1. Last change: 2025 Sep 09
+*version9.txt* For Vim version 9.1. Last change: 2025 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
- The Win32 GUI comes with better toolbar icons.
- Better fullscreen support for Haiku |os_haiku.txt|.
+
*new-other-9.2*
Other new features ~
------------------
Platform specific ~
- MS-Winodws: Paths like "\Windows" and "/Windows" are now considered to be
absolute paths (to the current drive) and no longer relative.
+- macOS: increase default scheduler priority to TASK_DEFAULT_APPLICATION.
*added-9.2*
Added ~
-*vi_diff.txt* For Vim version 9.1. Last change: 2025 Sep 08
+*vi_diff.txt* For Vim version 9.1. Last change: 2025 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
Amiga (OS4, AROS & MorphOS): | still supported (?)
Haiku: | supported
Linux: | fully supported (on maintained versions)
-Mac OS: | fully supported up until v10.6 (?)
+macOS: | fully supported up until v10.6 (?)
MS-Windows 7, 8, 10, 11: | fully supported
OpenVMS: | supported
QNX: | still supported (?)
#include <time.h>
#include <dirent.h>
+/*
+ * Mach interface
+ */
+#include <mach/task.h>
+
/*
* MacOS specific #define
*/
signal_stack = alloc(get_signal_stack_size());
init_signal_stack();
#endif
+
+ /*
+ * Inform the macOS scheduler that Vim renders UI, and so shouldn’t have its
+ * threads’ quality of service classes clamped.
+ */
+#ifdef MACOS_X
+ integer_t policy = TASK_DEFAULT_APPLICATION;
+ task_policy_set(mach_task_self(), TASK_CATEGORY_POLICY, &policy, 1);
+#endif
}
#if defined(EXITFREE) || defined(PROTO)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1748,
/**/
1747,
/**/