<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic libiomp5  5.0.20260213 worker-thread leak with std::thread in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/libiomp5-5-0-20260213-worker-thread-leak-with-std-thread/m-p/1753401#M4770</link>
    <description>&lt;P&gt;I noticed our C++ test suite got 50% slower moving from iomp 2023 -&amp;gt; iomp 2026.&lt;BR /&gt;&lt;BR /&gt;We use std::thread to run code which uses OMP parallel regions.&lt;BR /&gt;It looks like that libiomp5 does not clean up the the worker threads properly when the std thread joins. The result is that thousands of threads are being kept around during our test suite.&lt;BR /&gt;&lt;BR /&gt;Using the iomp library of OneAPI 2025 the expected behavior is restored (the number of observed threads is equal to the OMP_NUM_THREADS specified).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A minimal reproducer and write-up can be found here:&amp;nbsp;&lt;A href="https://github.com/SoShiny/thread_and_omp_issue/tree/main" target="_blank"&gt;SoShiny/thread_and_omp_issue: Minimal reproducer for std::tread + OMP issue.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2026 15:07:55 GMT</pubDate>
    <dc:creator>SoShiny</dc:creator>
    <dc:date>2026-07-08T15:07:55Z</dc:date>
    <item>
      <title>libiomp5  5.0.20260213 worker-thread leak with std::thread</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/libiomp5-5-0-20260213-worker-thread-leak-with-std-thread/m-p/1753401#M4770</link>
      <description>&lt;P&gt;I noticed our C++ test suite got 50% slower moving from iomp 2023 -&amp;gt; iomp 2026.&lt;BR /&gt;&lt;BR /&gt;We use std::thread to run code which uses OMP parallel regions.&lt;BR /&gt;It looks like that libiomp5 does not clean up the the worker threads properly when the std thread joins. The result is that thousands of threads are being kept around during our test suite.&lt;BR /&gt;&lt;BR /&gt;Using the iomp library of OneAPI 2025 the expected behavior is restored (the number of observed threads is equal to the OMP_NUM_THREADS specified).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A minimal reproducer and write-up can be found here:&amp;nbsp;&lt;A href="https://github.com/SoShiny/thread_and_omp_issue/tree/main" target="_blank"&gt;SoShiny/thread_and_omp_issue: Minimal reproducer for std::tread + OMP issue.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2026 15:07:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/libiomp5-5-0-20260213-worker-thread-leak-with-std-thread/m-p/1753401#M4770</guid>
      <dc:creator>SoShiny</dc:creator>
      <dc:date>2026-07-08T15:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: libiomp5  5.0.20260213 worker-thread leak with std::thread</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/libiomp5-5-0-20260213-worker-thread-leak-with-std-thread/m-p/1753433#M4772</link>
      <description>&lt;P&gt;Thank you for the reproducer, we will investigate this further.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2026 20:46:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/libiomp5-5-0-20260213-worker-thread-leak-with-std-thread/m-p/1753433#M4772</guid>
      <dc:creator>Sravani_K_Intel</dc:creator>
      <dc:date>2026-07-08T20:46:27Z</dc:date>
    </item>
    <item>
      <title>Re:libiomp5  5.0.20260213 worker-thread leak with std::thread</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/libiomp5-5-0-20260213-worker-thread-leak-with-std-thread/m-p/1753549#M4776</link>
      <description>&lt;P&gt;I can reproduce the behavior with 2026.1 and have opened a bug report for it.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2026 05:42:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/libiomp5-5-0-20260213-worker-thread-leak-with-std-thread/m-p/1753549#M4776</guid>
      <dc:creator>Xiaoping_D_Intel</dc:creator>
      <dc:date>2026-07-10T05:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: libiomp5  5.0.20260213 worker-thread leak with std::thread</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/libiomp5-5-0-20260213-worker-thread-leak-with-std-thread/m-p/1754084#M4784</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/41891"&gt;@Xiaoping_D_Intel&lt;/a&gt;&amp;nbsp;Is there a way for me to follow the bug? Or will this thread be updated once the bug is addressed?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2026 09:25:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/libiomp5-5-0-20260213-worker-thread-leak-with-std-thread/m-p/1754084#M4784</guid>
      <dc:creator>SoShiny</dc:creator>
      <dc:date>2026-07-16T09:25:58Z</dc:date>
    </item>
  </channel>
</rss>

