1
0
forked from Alepha/Alepha

Rehabilitate the Thread type and test.

This commit is contained in:
2023-11-08 04:33:09 -05:00
parent eb2ac15e65
commit 8f96c9e888
5 changed files with 20 additions and 26 deletions

View File

@ -0,0 +1,3 @@
link_libraries( boost_thread )
unit_test( thread )

View File

@ -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

View File

@ -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 )