summaryrefslogtreecommitdiff
path: root/source/Host/posix/HostThreadPosix.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:36 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:36 +0000
commitef5d0b5e97ec8e6fa395d377b09aa7755e345b4f (patch)
tree27916256fdeeb57d10d2f3d6948be5d71a703215 /source/Host/posix/HostThreadPosix.cpp
parent76e0736e7fcfeb179779e49c05604464b1ccd704 (diff)
Notes
Diffstat (limited to 'source/Host/posix/HostThreadPosix.cpp')
-rw-r--r--source/Host/posix/HostThreadPosix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Host/posix/HostThreadPosix.cpp b/source/Host/posix/HostThreadPosix.cpp
index 0f4434d25e2eb..71abb76dc600b 100644
--- a/source/Host/posix/HostThreadPosix.cpp
+++ b/source/Host/posix/HostThreadPosix.cpp
@@ -43,7 +43,7 @@ Status HostThreadPosix::Cancel() {
if (IsJoinable()) {
#ifndef __ANDROID__
#ifndef __FreeBSD__
- assert(false && "someone is calling HostThread::Cancel()");
+ llvm_unreachable("someone is calling HostThread::Cancel()");
#endif
int err = ::pthread_cancel(m_thread);
error.SetError(err, eErrorTypePOSIX);