<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Support/Unix/Threading.inc, branch main</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>[Support] Also check the value for HAVE_PTHREAD_(SETNAME/SET_NAME)_NP (#156294)</title>
<updated>2025-09-01T10:07:13+00:00</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2025-09-01T10:07:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=10e5ec84573f83c172fc77da92252b60164b52b5'/>
<id>10e5ec84573f83c172fc77da92252b60164b52b5</id>
<content type='text'>
As was already done for HAVE_PTHREAD_(GETNAME/GET_NAME)_NP</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As was already done for HAVE_PTHREAD_(GETNAME/GET_NAME)_NP</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM][Support][Cygwin] Add threading support for Cygwin host (#145314)</title>
<updated>2025-06-24T14:18:28+00:00</updated>
<author>
<name>Tomohiro Kashiwada</name>
<email>kikairoya@gmail.com</email>
</author>
<published>2025-06-24T14:18:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bd96918f01cfd7642a20a4a5bb0e7d10ad7f2360'/>
<id>bd96918f01cfd7642a20a4a5bb0e7d10ad7f2360</id>
<content type='text'>
Cygwin environment has pthread functionality but LLVM integration
doesn't care it nor provide fallback.
Using Linux integration for Cygwin works fine.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cygwin environment has pthread functionality but LLVM integration
doesn't care it nor provide fallback.
Using Linux integration for Cygwin works fine.</pre>
</div>
</content>
</entry>
<entry>
<title>[Support] Properly zero initialize CPU set when querying affinity (#142924)</title>
<updated>2025-06-06T09:24:46+00:00</updated>
<author>
<name>Christian Ulmann</name>
<email>christianulmann@gmail.com</email>
</author>
<published>2025-06-06T09:24:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=052d5889f871f792def285c92bd91182d07789cd'/>
<id>052d5889f871f792def285c92bd91182d07789cd</id>
<content type='text'>
This commit resolves a potential issue of working with uninitialized
memory when querying the CPU's affinity. The man page of
`sched_getaffinity` does not guarantee that the memory will be fully
overwritten, so this change should ensure that issues are avoided.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit resolves a potential issue of working with uninitialized
memory when querying the CPU's affinity. The man page of
`sched_getaffinity` does not guarantee that the memory will be fully
overwritten, so this change should ensure that issues are avoided.</pre>
</div>
</content>
</entry>
<entry>
<title>[lldb][llvm][AIX] Added support for getProcFile with TID (#142586)</title>
<updated>2025-06-04T09:14:57+00:00</updated>
<author>
<name>Hemang Gadhavi</name>
<email>hemang.gadhavi@ibm.com</email>
</author>
<published>2025-06-04T09:14:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=41841e625db8d14d6701e7cb211b2fcab6a32a50'/>
<id>41841e625db8d14d6701e7cb211b2fcab6a32a50</id>
<content type='text'>
This PR is in reference to porting LLDB on AIX.
Link to discussions on llvm discourse and github:

1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640
2. https://github.com/llvm/llvm-project/issues/101657
The complete changes for porting are present in this draft PR:
https://github.com/llvm/llvm-project/pull/102601

- Added changes to getProcFile() with threadID, including testcase for
AIX.
- Added support for AIX to get_threadid() from llvm.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR is in reference to porting LLDB on AIX.
Link to discussions on llvm discourse and github:

1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640
2. https://github.com/llvm/llvm-project/issues/101657
The complete changes for porting are present in this draft PR:
https://github.com/llvm/llvm-project/pull/102601

- Added changes to getProcFile() with threadID, including testcase for
AIX.
- Added support for AIX to get_threadid() from llvm.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Android has sched_getaffinity() now (#124689)</title>
<updated>2025-01-28T18:21:14+00:00</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2025-01-28T18:21:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cfdd937b30acc007016ebbe4afab7bb4d6449e0a'/>
<id>cfdd937b30acc007016ebbe4afab7bb4d6449e0a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm][Support] Use __NR_gettid on Linux for compat with older glibc (#120007)</title>
<updated>2024-12-18T21:19:09+00:00</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2024-12-18T21:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6ea8b4cebd322fe604efa96b943abf6ad419414c'/>
<id>6ea8b4cebd322fe604efa96b943abf6ad419414c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Support] Include Support/thread.h before api implementations (#111175)</title>
<updated>2024-10-10T04:45:29+00:00</updated>
<author>
<name>Thomas Fransham</name>
<email>tfransham@gmail.com</email>
</author>
<published>2024-10-10T04:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9093ba9f7ee58ccf62e58487a5028707a248c0b7'/>
<id>9093ba9f7ee58ccf62e58487a5028707a248c0b7</id>
<content type='text'>
This header was included after the implementations to work around an
issue with FreeBSD, however, , this causes some issues when
dllexport\explicit visibility
attributes will be added to the headers on Windows, since the
definitions need to see the declarations for the attributes to apply.

This is part of the work to enable LLVM_BUILD_LLVM_DYLIB and plugins on
windows.

---------

Co-authored-by: Tom Stellard &lt;tstellar@redhat.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This header was included after the implementations to work around an
issue with FreeBSD, however, , this causes some issues when
dllexport\explicit visibility
attributes will be added to the headers on Windows, since the
definitions need to see the declarations for the attributes to apply.

This is part of the work to enable LLVM_BUILD_LLVM_DYLIB and plugins on
windows.

---------

Co-authored-by: Tom Stellard &lt;tstellar@redhat.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix have pthread_getname for some system (#110854)</title>
<updated>2024-10-03T13:13:53+00:00</updated>
<author>
<name>William Moses</name>
<email>gh@wsmoses.com</email>
</author>
<published>2024-10-03T13:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8bcf79914b9395048d2ef11b6dc5f95fddb9747a'/>
<id>8bcf79914b9395048d2ef11b6dc5f95fddb9747a</id>
<content type='text'>
I'm on a system that has have_pthread_getname_np defined but set to 0.
The correct behavior here is not to use the function, but presently the
macros will attempt to use a non-existing function.

This previously worked before
https://github.com/llvm/llvm-project/pull/106486/files</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm on a system that has have_pthread_getname_np defined but set to 0.
The correct behavior here is not to use the function, but presently the
macros will attempt to use a non-existing function.

This previously worked before
https://github.com/llvm/llvm-project/pull/106486/files</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm][Support] Determine the max thread length on Haiku (#107801)</title>
<updated>2024-09-10T07:12:38+00:00</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2024-09-10T07:12:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1c334debecd70bd28e61a36c40c3f96cf5467331'/>
<id>1c334debecd70bd28e61a36c40c3f96cf5467331</id>
<content type='text'>
Haiku has pthread_setname_np() / pthread_getname_np().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Haiku has pthread_setname_np() / pthread_getname_np().</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm][Support] Add support for thread naming under DragonFly BSD and Solaris/illumos (#106944)</title>
<updated>2024-09-02T10:17:40+00:00</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2024-09-02T10:17:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1e65b765879fb39214b28d96e3305fa3599581db'/>
<id>1e65b765879fb39214b28d96e3305fa3599581db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
