<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/lldb/source/Host/common/Mutex.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>Clean up vestigial remnants of locking primitives</title>
<updated>2016-07-28T17:32:20+00:00</updated>
<author>
<name>Saleem Abdulrasool</name>
<email>compnerd@compnerd.org</email>
</author>
<published>2016-07-28T17:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2d6a9ec9351f974a19eeca4c2326ef9ff701ee37'/>
<id>2d6a9ec9351f974a19eeca4c2326ef9ff701ee37</id>
<content type='text'>
This finally removes the use of the Mutex and Condition classes. This is an
intricate patch as the Mutex and Condition classes were tied together.
Furthermore, many places had slightly differing uses of time values. Convert
timeout values to relative everywhere to permit the use of
std::chrono::duration, which is required for the use of
std::condition_variable's timeout. Adjust all Condition and related Mutex
classes over to std::{,recursive_}mutex and std::condition_variable.

This change primarily comes at the cost of breaking the TracingMutex which was
based around the Mutex class. It would be possible to write a wrapper to
provide similar functionality, but that is beyond the scope of this change.

llvm-svn: 277011
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This finally removes the use of the Mutex and Condition classes. This is an
intricate patch as the Mutex and Condition classes were tied together.
Furthermore, many places had slightly differing uses of time values. Convert
timeout values to relative everywhere to permit the use of
std::chrono::duration, which is required for the use of
std::condition_variable's timeout. Adjust all Condition and related Mutex
classes over to std::{,recursive_}mutex and std::condition_variable.

This change primarily comes at the cost of breaking the TracingMutex which was
based around the Mutex class. It would be possible to write a wrapper to
provide similar functionality, but that is beyond the scope of this change.

llvm-svn: 277011
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable mutex error checking so it doesn't create problems with the multi-threaded test case. The error would cause an assertion that could cause lldb to crash when unlocking a mutex returned an error because it was in use.</title>
<updated>2015-07-23T23:32:08+00:00</updated>
<author>
<name>Greg Clayton</name>
<email>gclayton@apple.com</email>
</author>
<published>2015-07-23T23:32:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f9d9db4975a0e599136a6609bf606f4212edf2cc'/>
<id>f9d9db4975a0e599136a6609bf606f4212edf2cc</id>
<content type='text'>
llvm-svn: 243067
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
llvm-svn: 243067
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing warnings shouldn't introduce a crasher.</title>
<updated>2014-07-18T18:32:45+00:00</updated>
<author>
<name>Greg Clayton</name>
<email>gclayton@apple.com</email>
</author>
<published>2014-07-18T18:32:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d46bb62610dd9a15d06c739d1aebbd776ba7e9b1'/>
<id>d46bb62610dd9a15d06c739d1aebbd776ba7e9b1</id>
<content type='text'>
Fix the warning the correct way without making things crash when ENABLE_MUTEX_ERROR_CHECKING is non enabled.

&lt;rdar://problem/17703039&gt;

llvm-svn: 213394
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the warning the correct way without making things crash when ENABLE_MUTEX_ERROR_CHECKING is non enabled.

&lt;rdar://problem/17703039&gt;

llvm-svn: 213394
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup/rearrange includes:</title>
<updated>2013-08-28T12:14:27+00:00</updated>
<author>
<name>Virgile Bello</name>
<email>virgile.bello@gmail.com</email>
</author>
<published>2013-08-28T12:14:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bdae3787ef23070b59532e02da2ee08365015ef4'/>
<id>bdae3787ef23070b59532e02da2ee08365015ef4</id>
<content type='text'>
- factorize unistd.h and stdbool.h in lldb-types.h.
- Add &lt;functional&gt; and &lt;string&gt; where required.

llvm-svn: 189477
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- factorize unistd.h and stdbool.h in lldb-types.h.
- Add &lt;functional&gt; and &lt;string&gt; where required.

llvm-svn: 189477
</pre>
</div>
</content>
</entry>
<entry>
<title>MingW compilation (windows). Includes various refactoring to improve portability.</title>
<updated>2013-08-23T12:44:05+00:00</updated>
<author>
<name>Virgile Bello</name>
<email>virgile.bello@gmail.com</email>
</author>
<published>2013-08-23T12:44:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b2f1fb2943c5e6833dcd2e1166b83ae4aca06d7a'/>
<id>b2f1fb2943c5e6833dcd2e1166b83ae4aca06d7a</id>
<content type='text'>
llvm-svn: 189107
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
llvm-svn: 189107
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix various build warnings.</title>
<updated>2013-06-03T18:00:07+00:00</updated>
<author>
<name>Matt Kopec</name>
<email>Matt.Kopec@intel.com</email>
</author>
<published>2013-06-03T18:00:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ef14371d3f9c1c431e381b1d66266b0e326eaa22'/>
<id>ef14371d3f9c1c431e381b1d66266b0e326eaa22</id>
<content type='text'>
llvm-svn: 183140
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
llvm-svn: 183140
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed some linux buildbot warnings.</title>
<updated>2013-04-19T21:31:16+00:00</updated>
<author>
<name>Greg Clayton</name>
<email>gclayton@apple.com</email>
</author>
<published>2013-04-19T21:31:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=03da4cc294bbb81c6a3346415afd860b34d25940'/>
<id>03da4cc294bbb81c6a3346415afd860b34d25940</id>
<content type='text'>
llvm-svn: 179892
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
llvm-svn: 179892
</pre>
</div>
</content>
</entry>
<entry>
<title>&lt;rdar://problem/12446222&gt;</title>
<updated>2012-12-19T23:42:07+00:00</updated>
<author>
<name>Enrico Granata</name>
<email>egranata@apple.com</email>
</author>
<published>2012-12-19T23:42:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=557fd00a6f58e7df81c19f4ccd00314daab12759'/>
<id>557fd00a6f58e7df81c19f4ccd00314daab12759</id>
<content type='text'>
Implement the ability for Python commands to be interrupted by pressing CTRL+C
Also add a new Mutex subclass that attempts to be helpful for debugging by logging actions performed on it

FYI of all interested - there is a separate deadlocking issue related to how LLDB dispatches CTRL+C that might cause LLDB to deadlock upon pressing CTRL+C while in a Python command.
This is not a regression, and was just previously masked by us not even trying to bail out of Python commands, so that it would not be clear from a user perspective whether we were
deadlocked or stuck in an inconsistent state within the Python interpreter.

llvm-svn: 170612
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement the ability for Python commands to be interrupted by pressing CTRL+C
Also add a new Mutex subclass that attempts to be helpful for debugging by logging actions performed on it

FYI of all interested - there is a separate deadlocking issue related to how LLDB dispatches CTRL+C that might cause LLDB to deadlock upon pressing CTRL+C while in a Python command.
This is not a regression, and was just previously masked by us not even trying to bail out of Python commands, so that it would not be clear from a user perspective whether we were
deadlocked or stuck in an inconsistent state within the Python interpreter.

llvm-svn: 170612
</pre>
</div>
</content>
</entry>
<entry>
<title>More Linux warnings fixes (remove default labels as needed):</title>
<updated>2012-12-07T20:51:09+00:00</updated>
<author>
<name>Daniel Malea</name>
<email>daniel.malea@intel.com</email>
</author>
<published>2012-12-07T20:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=89660bf7959ea4d2aeab12e934c60fc0cc18e2ec'/>
<id>89660bf7959ea4d2aeab12e934c60fc0cc18e2ec</id>
<content type='text'>
- as per http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations

Patch by Matt Kopec!

llvm-svn: 169633
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- as per http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations

Patch by Matt Kopec!

llvm-svn: 169633
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve printf formatting warnings on Linux:</title>
<updated>2012-11-29T21:49:15+00:00</updated>
<author>
<name>Daniel Malea</name>
<email>daniel.malea@intel.com</email>
</author>
<published>2012-11-29T21:49:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d01b2953fac73977de3bc97e72ea04ad1ec6600f'/>
<id>d01b2953fac73977de3bc97e72ea04ad1ec6600f</id>
<content type='text'>
- use macros from inttypes.h for format strings instead of OS-specific types

Patch from Matt Kopec!

llvm-svn: 168945
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- use macros from inttypes.h for format strings instead of OS-specific types

Patch from Matt Kopec!

llvm-svn: 168945
</pre>
</div>
</content>
</entry>
</feed>
