forked from Alepha/Alepha
Rehabilitate the Thread
type and test.
This commit is contained in:
3
Thread.test/CMakeLists.txt
Normal file
3
Thread.test/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
link_libraries( boost_thread )
|
||||
|
||||
unit_test( thread )
|
@ -1,10 +0,0 @@
|
||||
CXXFLAGS+= -std=c++2a -I ../
|
||||
CXXFLAGS+= -g -O0
|
||||
CXX=clang++-12
|
||||
|
||||
CXXFLAGS+= -Wno-inline-namespace-reopened-noninline
|
||||
CXXFLAGS+= -Wno-unused-comparison
|
||||
|
||||
LDLIBS+= -lboost_thread -lpthread
|
||||
|
||||
all: thread
|
@ -6,7 +6,7 @@ static_assert( __cplusplus > 2020'99 );
|
||||
|
||||
#include <Alepha/Testing/test.h>
|
||||
#include <Alepha/Testing/TableTest.h>
|
||||
#include <Alepha/Utility/evaluation.h>
|
||||
#include <Alepha/Utility/evaluation_helpers.h>
|
||||
|
||||
namespace
|
||||
{
|
||||
@ -36,7 +36,7 @@ namespace
|
||||
}
|
||||
catch( const boost::thread_interrupted & )
|
||||
{
|
||||
std::cerr << "SHIT! We didn't get intercepted!" << std::endl;
|
||||
std::cerr << "OOPS! We didn't get intercepted!" << std::endl;
|
||||
throw;
|
||||
}
|
||||
catch( const MyNotification &n )
|
||||
|
Reference in New Issue
Block a user