Fix thread comparison by making sure we never pass our special 'not a thread' value...
authorMarshall Clow <mclow.lists@gmail.com>
Wed, 14 Aug 2019 20:54:56 +0000 (20:54 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Wed, 14 Aug 2019 20:54:56 +0000 (20:54 +0000)
commit2e80d01fa7dc36c5f2533a363c6c0680f7896dc5
treead3e9bc3d415559af00cb828da139cc9b85234e9
parent376f64225288df2565e06e92d53d71f54cebf8c2
Fix thread comparison by making sure we never pass our special 'not a thread' value to the underlying implementation. Fixes PR#42918.

llvm-svn: 368916
libcxx/include/__threading_support
libcxx/src/mutex.cpp