<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/src/threads/linux/mtx_lock.cpp, 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>[libc][NFC] Add a platform independent thread support library.</title>
<updated>2022-03-04T18:33:46+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2022-02-26T01:18:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a5ee8183c049d377539c2b6452c8817589dd2df4'/>
<id>a5ee8183c049d377539c2b6452c8817589dd2df4</id>
<content type='text'>
The idea is that, other parts of the libc which require thread/lock
support will be able to use this platform independent setup.

With this change, only the linux implementation of a mutex type has been
moved to the new library. Because of this, there is some duplication
between the new library and src/threads/linux. A follow up change will
move all of src/threads/linux to the new library. The duplication should
be eliminated with that move.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D120795
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The idea is that, other parts of the libc which require thread/lock
support will be able to use this platform independent setup.

With this change, only the linux implementation of a mutex type has been
moved to the new library. Because of this, there is some duplication
between the new library and src/threads/linux. A follow up change will
move all of src/threads/linux to the new library. The duplication should
be eliminated with that move.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D120795
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] Move the mutex implementation into a utility class.</title>
<updated>2021-08-26T18:49:20+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-08-26T05:21:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=004c7b1da6cfea1d1f09535607a8c7c2f051e8d5'/>
<id>004c7b1da6cfea1d1f09535607a8c7c2f051e8d5</id>
<content type='text'>
This allows others parts of the libc to use the mutex types without
actually pulling in public function implementations.

Along the way, few cleanups have been done, like using a uniform type to
refer the linux futex word.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D108749
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows others parts of the libc to use the mutex types without
actually pulling in public function implementations.

Along the way, few cleanups have been done, like using a uniform type to
refer the linux futex word.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D108749
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add a multi-waiter mutex test.</title>
<updated>2021-08-23T05:47:30+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-08-21T04:46:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8e488c3cc0da71afbe75963033e86bf32ee56c11'/>
<id>8e488c3cc0da71afbe75963033e86bf32ee56c11</id>
<content type='text'>
A corresponding adjustment to mtx_lock has also been made.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A corresponding adjustment to mtx_lock has also been made.
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] add includes for internal headers to all libc functions</title>
<updated>2021-01-09T00:39:18+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2021-01-09T00:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b02ca0969ea3f8147ae74d08e131f1bfe4f203d2'/>
<id>b02ca0969ea3f8147ae74d08e131f1bfe4f203d2</id>
<content type='text'>
this will make sure that all of the functions are using the correct
prototypes. Explained much better in the comments of this diff:
https://reviews.llvm.org/D94195
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this will make sure that all of the functions are using the correct
prototypes. Explained much better in the comments of this diff:
https://reviews.llvm.org/D94195
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Switch to use a macro which does not insert a section for every libc function.</title>
<updated>2021-01-08T23:52:35+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2020-12-23T18:46:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a0b65a7bcd6065688189b3d678c42ed6af9603db'/>
<id>a0b65a7bcd6065688189b3d678c42ed6af9603db</id>
<content type='text'>
Summary:
The new macro also inserts the C alias for the C++ implementations
without needing an objcopy based post processing step. The CMake
rules have been updated to reflect this. More CMake cleanup can be
taken up in future rounds and appropriate TODOs have been added for them.

Reviewers: mcgrathr, sivachandra

Subscribers:
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The new macro also inserts the C alias for the C++ implementations
without needing an objcopy based post processing step. The CMake
rules have been updated to reflect this. More CMake cleanup can be
taken up in future rounds and appropriate TODOs have been added for them.

Reviewers: mcgrathr, sivachandra

Subscribers:
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] Make all top of file comments consistent.</title>
<updated>2020-04-08T17:18:37+00:00</updated>
<author>
<name>Paula Toth</name>
<email>paulatoth@google.com</email>
</author>
<published>2020-04-08T17:16:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=66d00feb186619cc5919a18ab56334558e6bbd45'/>
<id>66d00feb186619cc5919a18ab56334558e6bbd45</id>
<content type='text'>
Summary:
Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers.
And did the same for all source files top of file comments.

Reviewers: sivachandra, abrachet

Reviewed By: sivachandra, abrachet

Subscribers: MaskRay, tschuett, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D77533
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers.
And did the same for all source files top of file comments.

Reviewers: sivachandra, abrachet

Reviewed By: sivachandra, abrachet

Subscribers: MaskRay, tschuett, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D77533
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add simple implementations of mtx_lock and mtx_unlock.</title>
<updated>2020-03-10T04:56:02+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2020-02-10T07:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=550be40515df7135a8628a1abe57b845570645dd'/>
<id>550be40515df7135a8628a1abe57b845570645dd</id>
<content type='text'>
These functions only support locking and unlocking of plain mutexes.
They will be extended in future changes to handled recursive and timed
mutexes.

Reviewers: phosek

Differential Revision: https://reviews.llvm.org/D74653
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These functions only support locking and unlocking of plain mutexes.
They will be extended in future changes to handled recursive and timed
mutexes.

Reviewers: phosek

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