update c++ wrapper to match the C API

This commit is contained in:
Michael Ploujnikov 2010-01-06 07:42:42 -05:00
parent a668095f60
commit c707f94929

View file

@ -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.");