Merge tag 'v0.20.9'

release v0.20.9
This commit is contained in:
Max Kellermann
2017-06-04 12:57:05 +02:00
69 changed files with 240 additions and 232 deletions

View File

@@ -53,7 +53,7 @@ public:
#endif
gcc_const
static ThreadId Null() {
static ThreadId Null() noexcept {
#ifdef WIN32
return 0;
#else
@@ -63,7 +63,7 @@ public:
}
gcc_pure
bool IsNull() const {
bool IsNull() const noexcept {
return *this == Null();
}
@@ -80,7 +80,7 @@ public:
}
gcc_pure
bool operator==(const ThreadId &other) const {
bool operator==(const ThreadId &other) const noexcept {
#ifdef WIN32
return id == other.id;
#else

View File

@@ -78,7 +78,7 @@ public:
* Check if this thread is the current thread.
*/
gcc_pure
bool IsInside() const {
bool IsInside() const noexcept {
#ifdef WIN32
return GetCurrentThreadId() == id;
#else