<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/include/pthread.h.def, 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>[libc] move pthread macros to dedicated header (#119286)</title>
<updated>2024-12-10T17:00:06+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>nickdesaulniers@users.noreply.github.com</email>
</author>
<published>2024-12-10T17:00:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8a25398615e4ad434231edba234db95d111bb6cf'/>
<id>8a25398615e4ad434231edba234db95d111bb6cf</id>
<content type='text'>
so that docgen can find our definitions.

Also eliminate the enums. POSIX is careful to call these "symbolic constants"
rather than specifically whether they are preprocessor macro defines or not.
Enums are useful to expressing mutual exclusion when the enum values are in
distinct enums which can improve type safety. Our enum values weren't using
that pattern though; they were all in one big anonymous enum.

Link:
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/pthread.h.html
Fixes: #88997
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
so that docgen can find our definitions.

Also eliminate the enums. POSIX is careful to call these "symbolic constants"
rather than specifically whether they are preprocessor macro defines or not.
Enums are useful to expressing mutual exclusion when the enum values are in
distinct enums which can improve type safety. Our enum values weren't using
that pattern though; they were all in one big anonymous enum.

Link:
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/pthread.h.html
Fixes: #88997
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] add rwlock (#94156)</title>
<updated>2024-06-14T20:34:28+00:00</updated>
<author>
<name>Schrodinger ZHU Yifan</name>
<email>yifanzhu@rochester.edu</email>
</author>
<published>2024-06-14T20:34:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=41fecca97b77a80926cb1b1a83c8af3c90d354bd'/>
<id>41fecca97b77a80926cb1b1a83c8af3c90d354bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reland: [libc][POSIX][pthreads] implemented missing pthread_rwlockattr functions (#93622)</title>
<updated>2024-05-30T18:27:50+00:00</updated>
<author>
<name>Hendrik Hübner</name>
<email>117831077+HendrikHuebner@users.noreply.github.com</email>
</author>
<published>2024-05-30T18:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=485f9f589595006a8d10b8d39bde7124b0dc2042'/>
<id>485f9f589595006a8d10b8d39bde7124b0dc2042</id>
<content type='text'>
New pull request for https://github.com/llvm/llvm-project/issues/89443

The previous PR was reverted after breaking fullbuild due to a missing
struct declaration, which I forgot to commit.

Reverts revert and adds the missing pthread_rwlockattr_getkind_np /
pthread_rwlockattr_setkind_np functions and tests respecitvely.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New pull request for https://github.com/llvm/llvm-project/issues/89443

The previous PR was reverted after breaking fullbuild due to a missing
struct declaration, which I forgot to commit.

Reverts revert and adds the missing pthread_rwlockattr_getkind_np /
pthread_rwlockattr_setkind_np functions and tests respecitvely.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[libc][POSIX][pthreads] implemented missing pthread_rwlockattr functions" (#91966)</title>
<updated>2024-05-13T13:43:14+00:00</updated>
<author>
<name>Schrodinger ZHU Yifan</name>
<email>yifanzhu@rochester.edu</email>
</author>
<published>2024-05-13T13:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=27595c4befbbf42891ef7e13fe28926eb7fc825d'/>
<id>27595c4befbbf42891ef7e13fe28926eb7fc825d</id>
<content type='text'>
Reverts llvm/llvm-project#90249

Fullbuild is broken:
https://lab.llvm.org/buildbot/#/builders/163/builds/56501</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#90249

Fullbuild is broken:
https://lab.llvm.org/buildbot/#/builders/163/builds/56501</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][POSIX][pthreads] implemented missing pthread_rwlockattr functions (#90249)</title>
<updated>2024-05-13T13:35:17+00:00</updated>
<author>
<name>Hendrik Hübner</name>
<email>117831077+HendrikHuebner@users.noreply.github.com</email>
</author>
<published>2024-05-13T13:35:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d2676a73336b83607565fb2e4ce61bd67d732b09'/>
<id>d2676a73336b83607565fb2e4ce61bd67d732b09</id>
<content type='text'>
Closes #89443

I added the two missing functions and respective test cases. Let me know
if anything needs changing.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #89443

I added the two missing functions and respective test cases. Let me know
if anything needs changing.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][POSIX][pthreads] implement pthread_condattr_t functions (#88987)</title>
<updated>2024-04-17T16:31:29+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>nickdesaulniers@users.noreply.github.com</email>
</author>
<published>2024-04-17T16:31:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=06947b9f8d258fe66fc69f1e7c0197cb621da3a5'/>
<id>06947b9f8d258fe66fc69f1e7c0197cb621da3a5</id>
<content type='text'>
Implement:
- pthread_condattr_destroy
- pthread_condattr_getclock
- pthread_condattr_getpshared
- pthread_condattr_init
- pthread_condattr_setclock
- pthread_condattr_setpshared

Fixes: #88581</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement:
- pthread_condattr_destroy
- pthread_condattr_getclock
- pthread_condattr_getpshared
- pthread_condattr_init
- pthread_condattr_setclock
- pthread_condattr_setpshared

Fixes: #88581</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] fix up the use of angle includes in include/ (#86027)</title>
<updated>2024-03-22T15:24:08+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>nickdesaulniers@users.noreply.github.com</email>
</author>
<published>2024-03-22T15:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cdbec7baf1bc31b59526442c9d4d5f53aac746eb'/>
<id>cdbec7baf1bc31b59526442c9d4d5f53aac746eb</id>
<content type='text'>
Performed en-masse via:

    $ grep -rn "#include &lt;ll" libc/include -l | \
      xargs perl -pi -e 's/#include &lt;ll(.*)&gt;/#include "ll$1"/'
    $ grep -rn "#include &lt;__" libc/include -l | \
      xargs perl -pi -e 's/#include &lt;__(.*)&gt;/#include "__$1"/'

Link: #83463
Link: #83210
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Performed en-masse via:

    $ grep -rn "#include &lt;ll" libc/include -l | \
      xargs perl -pi -e 's/#include &lt;ll(.*)&gt;/#include "ll$1"/'
    $ grep -rn "#include &lt;__" libc/include -l | \
      xargs perl -pi -e 's/#include &lt;__(.*)&gt;/#include "__$1"/'

Link: #83463
Link: #83210
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] pthread.h.def: add PTHREAD_MUTEX_INITIALIZER</title>
<updated>2023-07-25T23:47:15+00:00</updated>
<author>
<name>Alfred Persson Forsberg</name>
<email>cat@catcream.org</email>
</author>
<published>2023-07-25T23:46:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c1ce7c8341be85346a2dca714bff98700d1234cb'/>
<id>c1ce7c8341be85346a2dca714bff98700d1234cb</id>
<content type='text'>
Adds PTHREAD_MUTEX_INITIALIZER for compiler-rt's builtins/emutls.c

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D156276
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds PTHREAD_MUTEX_INITIALIZER for compiler-rt's builtins/emutls.c

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D156276
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add implementation of pthread_once.</title>
<updated>2022-09-28T06:54:48+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2022-09-27T08:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3367539010870ae05d7ff5677734357f3a6c965f'/>
<id>3367539010870ae05d7ff5677734357f3a6c965f</id>
<content type='text'>
The existing thrd_once function has been refactored so that the
implementation can be shared between thrd_once and pthread_once
functions.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D134716
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The existing thrd_once function has been refactored so that the
implementation can be shared between thrd_once and pthread_once
functions.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D134716
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add a definition of pthread_attr_t and its getters and setters.</title>
<updated>2022-04-11T16:08:49+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2022-04-08T08:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0258f566466268704caa2476f20e4a87a6257d06'/>
<id>0258f566466268704caa2476f20e4a87a6257d06</id>
<content type='text'>
Not all attributes have been added to phtread_attr_t in this patch. They
will be added gradually in future patches.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D123423
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not all attributes have been added to phtread_attr_t in this patch. They
will be added gradually in future patches.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D123423
</pre>
</div>
</content>
</entry>
</feed>
