<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Support/ThreadPool.cpp, branch users/nico/python-1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[llvm] Use llvm::is_contained (NFC) (#140742)</title>
<updated>2025-05-20T21:34:16+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-05-20T21:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cbac2a924171f7a38cd788a5cc4642ef95dd40e4'/>
<id>cbac2a924171f7a38cd788a5cc4642ef95dd40e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Split the llvm::ThreadPool into an abstract base class and an implementation (#82094)</title>
<updated>2024-03-03T03:10:50+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2024-03-03T03:10:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6594f428de91e333c1cbea4f55e79b18d31024c4'/>
<id>6594f428de91e333c1cbea4f55e79b18d31024c4</id>
<content type='text'>
This decouples the public API used to enqueue tasks and wait for
completion from the actual implementation, and opens up the possibility
for clients to set their own thread pool implementation for the pool.

https://discourse.llvm.org/t/construct-threadpool-from-vector-of-existing-threads/76883</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This decouples the public API used to enqueue tasks and wait for
completion from the actual implementation, and opens up the possibility
for clients to set their own thread pool implementation for the pool.

https://discourse.llvm.org/t/construct-threadpool-from-vector-of-existing-threads/76883</pre>
</div>
</content>
</entry>
<entry>
<title>Name threadpool threads.</title>
<updated>2023-02-23T18:11:15+00:00</updated>
<author>
<name>Benoit Jacob</name>
<email>benoitjacob@google.com</email>
</author>
<published>2023-02-16T15:23:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1215ff89cde68bf66d2c883b19ad942fb2c5bf97'/>
<id>1215ff89cde68bf66d2c883b19ad942fb2c5bf97</id>
<content type='text'>
This gives our worker threads some names that allow easily identifying them in tools such as profilers and debuggers.

Differential Revision: https://reviews.llvm.org/D144297
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This gives our worker threads some names that allow easily identifying them in tools such as profilers and debuggers.

Differential Revision: https://reviews.llvm.org/D144297
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[llvm] Use llvm::is_contained (NFC)"</title>
<updated>2022-08-29T01:52:49+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2022-08-29T01:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6ed2cb4ad59bc999bd0c3519167439fde3758eea'/>
<id>6ed2cb4ad59bc999bd0c3519167439fde3758eea</id>
<content type='text'>
This reverts commit ebf574f59a80ca00e234eee0b047e5f0df99587d.

This patch seems to cause build failures on Windows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ebf574f59a80ca00e234eee0b047e5f0df99587d.

This patch seems to cause build failures on Windows.
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Use llvm::is_contained (NFC)</title>
<updated>2022-08-29T00:35:03+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2022-08-29T00:35:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ebf574f59a80ca00e234eee0b047e5f0df99587d'/>
<id>ebf574f59a80ca00e234eee0b047e5f0df99587d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ThreadPool] delete debug global variable if not needed</title>
<updated>2022-05-04T06:12:45+00:00</updated>
<author>
<name>Luboš Luňák</name>
<email>l.lunak@centrum.cz</email>
</author>
<published>2022-05-04T06:11:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9c34a16c7c52b2aad5bcb8d00500895968a7ac78'/>
<id>9c34a16c7c52b2aad5bcb8d00500895968a7ac78</id>
<content type='text'>
https://lab.llvm.org/buildbot/#/builders/5/builds/23099
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://lab.llvm.org/buildbot/#/builders/5/builds/23099
</pre>
</div>
</content>
</entry>
<entry>
<title>[ThreadPool] add ability to group tasks into separate groups</title>
<updated>2022-05-04T04:16:55+00:00</updated>
<author>
<name>Luboš Luňák</name>
<email>l.lunak@centrum.cz</email>
</author>
<published>2022-04-05T19:27:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8ef5710e6303904dc9a99019bf9b1a8353397f0c'/>
<id>8ef5710e6303904dc9a99019bf9b1a8353397f0c</id>
<content type='text'>
This is needed for parallelizing of loading modules symbols in LLDB
(D122975). Currently LLDB can parallelize indexing symbols
when loading a module, but modules are loaded sequentially. If LLDB
index cache is enabled, this means that the cache loading is not
parallelized, even though it could. However doing that creates
a threadpool-within-threadpool situation, so the number of threads
would not be properly limited.

This change adds ThreadPoolTaskGroup as a simple type that can be
used with ThreadPool calls to put tasks into groups that can be
independently waited for (even recursively from within a task)
but still run in the same thread pool.

Differential Revision: https://reviews.llvm.org/D123225
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed for parallelizing of loading modules symbols in LLDB
(D122975). Currently LLDB can parallelize indexing symbols
when loading a module, but modules are loaded sequentially. If LLDB
index cache is enabled, this means that the cache loading is not
parallelized, even though it could. However doing that creates
a threadpool-within-threadpool situation, so the number of threads
would not be properly limited.

This change adds ThreadPoolTaskGroup as a simple type that can be
used with ThreadPool calls to put tasks into groups that can be
independently waited for (even recursively from within a task)
but still run in the same thread pool.

Differential Revision: https://reviews.llvm.org/D123225
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix conditional include in ThreadPool</title>
<updated>2022-01-26T13:16:01+00:00</updated>
<author>
<name>serge-sans-paille</name>
<email>sguelton@redhat.com</email>
</author>
<published>2022-01-26T13:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0984aa70da1047677577c3a1eb0445fca90d8614'/>
<id>0984aa70da1047677577c3a1eb0445fca90d8614</id>
<content type='text'>
Should fix  https://lab.llvm.org/buildbot#builders/37/builds/10259
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should fix  https://lab.llvm.org/buildbot#builders/37/builds/10259
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Additional header dependency cleanup LLVMSupport</title>
<updated>2022-01-26T10:16:15+00:00</updated>
<author>
<name>serge-sans-paille</name>
<email>sguelton@redhat.com</email>
</author>
<published>2022-01-26T07:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=66c602be25c15ca69f6c3a618427ba0237c0d4a9'/>
<id>66c602be25c15ca69f6c3a618427ba0237c0d4a9</id>
<content type='text'>
A few more forward-declarations, a few less headers. the impact on number of
preprocessed lines for LLVMSupport is negligible (-3K lines) but it's always
good to remove dependencies.

Related discourse thread: https://llvm.discourse.group/t/include-what-you-use-include-cleanup
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A few more forward-declarations, a few less headers. the impact on number of
preprocessed lines for LLVMSupport is negligible (-3K lines) but it's always
good to remove dependencies.

Related discourse thread: https://llvm.discourse.group/t/include-what-you-use-include-cleanup
</pre>
</div>
</content>
</entry>
<entry>
<title>NFC (build fix): Add header for llvm::errs().</title>
<updated>2022-01-22T00:22:29+00:00</updated>
<author>
<name>Mitch Phillips</name>
<email>31459023+hctim@users.noreply.github.com</email>
</author>
<published>2022-01-22T00:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1613f8b8d7d5fc155e1a0ce2f88c4be6b115936e'/>
<id>1613f8b8d7d5fc155e1a0ce2f88c4be6b115936e</id>
<content type='text'>
Looks like e9211e039377 unfortunately broke the sanitizer build bots,
because those bots compile the symbolizer with DLLVM_ENABLE_THREADS=Off.
Likely, before the patch, this header was transitively included.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Looks like e9211e039377 unfortunately broke the sanitizer build bots,
because those bots compile the symbolizer with DLLVM_ENABLE_THREADS=Off.
Likely, before the patch, this header was transitively included.
</pre>
</div>
</content>
</entry>
</feed>
