diff options
author | Damiano Galassi <[email protected]> | 2019-04-09 19:24:35 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-04-09 19:24:35 +0200 |
commit | fea7c8338a1512fc0f3203c368c26d637fde2feb (patch) | |
tree | 0905fd05eae8c03d091814eceef7011b5f6cec3b | |
parent | ea5cfe4bd60bd33c64ac6ed51b25fe6187618829 (diff) |
ports: increase HB_LOW_PRIORITY on macOS to avoid threads being stalled on modern macOS versions.
-rw-r--r-- | libhb/ports.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/ports.h b/libhb/ports.h index 5f8a008dc..52c4ee292 100644 --- a/libhb/ports.h +++ b/libhb/ports.h @@ -151,7 +151,7 @@ typedef struct hb_thread_s hb_thread_t; # define HB_LOW_PRIORITY 5 # define HB_NORMAL_PRIORITY 10 #elif defined( SYS_DARWIN ) -# define HB_LOW_PRIORITY 0 +# define HB_LOW_PRIORITY 31 # define HB_NORMAL_PRIORITY 31 #elif defined( SYS_CYGWIN ) # define HB_LOW_PRIORITY 0 |