re-enable test for waiting on thread termination
This commit is contained in:
parent
b6d22bb2e0
commit
d740d9734d
3 changed files with 6 additions and 3 deletions
|
|
@ -91,8 +91,8 @@ namespace proc {
|
|||
void activate (uint fps)
|
||||
{
|
||||
REQUIRE ( 0==fps
|
||||
|| 1000000/fps < std::numeric_limits<uint>::max()
|
||||
&& 1000000/fps > POLL_TIMEOUT);
|
||||
||( 1000000/fps < std::numeric_limits<uint>::max()
|
||||
&& 1000000/fps > POLL_TIMEOUT));
|
||||
if (fps)
|
||||
timespan_ = 1000000/fps; // microseconds per tick
|
||||
else
|
||||
|
|
|
|||
|
|
@ -340,7 +340,8 @@ return: 0
|
|||
END
|
||||
|
||||
|
||||
PLANNED "Waiting on Thread termination" ThreadWrapperJoin_test <<END
|
||||
TEST "Waiting on Thread termination" ThreadWrapperJoin_test <<END
|
||||
return: 0
|
||||
END
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ namespace backend {
|
|||
|
||||
#ifdef DEBUG
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////TODO: better way of detecting debug builds
|
||||
#if false /////////////////////////////////////////////////////////////////////////////////////////////TODO: re-enable assertions to throw, and make this configurable
|
||||
try
|
||||
{
|
||||
Thread("test Thread joining-3",
|
||||
|
|
@ -120,6 +121,7 @@ namespace backend {
|
|||
{
|
||||
ASSERT (lumiera_error() == lumiera::error::LUMIERA_ERROR_ASSERTION);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// note: the waitingHandle goes out of scope here,
|
||||
|
|
|
|||
Loading…
Reference in a new issue