<div dir="ltr">Pushed to master branch, thanks</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 11, 2022 at 2:50 PM Keshav E <<a href="mailto:keshav@multicorewareinc.com">keshav@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">From aa24f69f41685a64ee936e22bcfd2e00895c8ad3 Mon Sep 17 00:00:00 2001<br>From: Keshav E <<a href="mailto:keshav@multicorewareinc.com" target="_blank">keshav@multicorewareinc.com</a>><br>Date: Fri, 25 Feb 2022 16:25:16 +0530<br>Subject: [PATCH] Fix Linux bug to utilize all the cores<br><br>---<br> source/common/threadpool.cpp | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/source/common/threadpool.cpp b/source/common/threadpool.cpp<br>index 2db7a14..91e82a2 100644<br>--- a/source/common/threadpool.cpp<br>+++ b/source/common/threadpool.cpp<br>@@ -301,7 +301,7 @@ ThreadPool* ThreadPool::allocThreadPools(x265_param* p, int& numPools, bool isTh<br> /* limit threads based on param->numaPools<br> * For windows because threads can't be allocated to live across sockets<br> * changing the default behavior to be per-socket pools -- FIXME */<br>-#if defined(_WIN32_WINNT) && _WIN32_WINNT >= _WIN32_WINNT_WIN7<br>+#if defined(_WIN32_WINNT) && _WIN32_WINNT >= _WIN32_WINNT_WIN7 || HAVE_LIBNUMA<br> if (!p->numaPools || (strcmp(p->numaPools, "NULL") == 0 || strcmp(p->numaPools, "*") == 0 || strcmp(p->numaPools, "") == 0))<br> {<br> char poolString[50] = "";<br>-- <br>1.8.3.1<br></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>