File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -728,7 +728,7 @@ di_async_tick(void)
728728 if (!og_is_rdi && rdi_is_stale && t -> thread_count == 0 )
729729 {
730730 U64 thread_count = 1 ;
731- U64 max_thread_count = os_get_system_info ()-> logical_processor_count ;
731+ U64 max_thread_count = os_get_system_info ()-> logical_processor_count / 2 ;
732732 if (priority_idx > 0 )
733733 {
734734 max_thread_count = Max (1 , max_thread_count /2 );
@@ -748,7 +748,7 @@ di_async_tick(void)
748748 //- rjf: determine if there are threads available
749749 B32 threads_available = 0 ;
750750 {
751- U64 max_threads = os_get_system_info ()-> logical_processor_count ;
751+ U64 max_threads = os_get_system_info ()-> logical_processor_count / 2 ;
752752 U64 current_threads = di_shared -> conversion_thread_count ;
753753 U64 needed_threads = (current_threads + t -> thread_count );
754754 threads_available = (max_threads >= needed_threads );
You can’t perform that action at this time.
0 commit comments