mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 03:06:28 +00:00
Make Mutex's constructor explicit, and tidy up whitespace.
llvm-svn: 63963
This commit is contained in:
parent
a2f300f26d
commit
9296e654cf
@ -30,11 +30,11 @@ namespace llvm
|
||||
/// also more likely to deadlock (same thread can't acquire more than
|
||||
/// once).
|
||||
/// @brief Default Constructor.
|
||||
Mutex ( bool recursive = true );
|
||||
explicit Mutex(bool recursive = true);
|
||||
|
||||
/// Releases and removes the lock
|
||||
/// @brief Destructor
|
||||
~Mutex ( void );
|
||||
~Mutex();
|
||||
|
||||
/// @}
|
||||
/// @name Methods
|
||||
@ -52,7 +52,7 @@ namespace llvm
|
||||
/// lock.
|
||||
/// @returns false if any kind of error occurs, true otherwise.
|
||||
/// @brief Unconditionally release the lock.
|
||||
bool release(void);
|
||||
bool release();
|
||||
|
||||
/// Attempts to acquire the lock without blocking. If the lock is not
|
||||
/// available, this function returns false quickly (without blocking). If
|
||||
|
Loading…
x
Reference in New Issue
Block a user