update c++ wrapper to match the C API
This commit is contained in:
parent
a668095f60
commit
c707f94929
1 changed files with 2 additions and 1 deletions
|
|
@ -177,10 +177,11 @@ namespace backend {
|
||||||
lumiera_thread_run ( kind
|
lumiera_thread_run ( kind
|
||||||
, &run // invoking the run helper and..
|
, &run // invoking the run helper and..
|
||||||
, this // passing this start context as parameter
|
, this // passing this start context as parameter
|
||||||
, joinCond // maybe wait-blocking for the thread to terminate
|
|
||||||
, purpose.c()
|
, purpose.c()
|
||||||
, logging_flag
|
, logging_flag
|
||||||
);
|
);
|
||||||
|
(void)joinCond; // TODO: this is a temporary fix to match the C API
|
||||||
|
// we might have to re-write more of this file or even remove it later
|
||||||
|
|
||||||
if (!res)
|
if (!res)
|
||||||
throw lumiera::error::State("failed to create new thread.");
|
throw lumiera::error::State("failed to create new thread.");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue