From b9771b85d4f543af78465985e6350c0ca57f4c70 Mon Sep 17 00:00:00 2001 From: Stefan Zabka Date: Thu, 11 Jun 2020 23:24:02 +0200 Subject: Broken Mess --- 04_exercise/threadpool.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '04_exercise/threadpool.h') diff --git a/04_exercise/threadpool.h b/04_exercise/threadpool.h index 1b5d64d..f73e36c 100644 --- a/04_exercise/threadpool.h +++ b/04_exercise/threadpool.h @@ -4,8 +4,6 @@ #include #include - - /**@brief Funktionszeiger auf eine asynchron auszuführende Funktion. * * Der Parameter kann zur Übergabe von Argumenten und den Rückgabewerten @@ -108,7 +106,7 @@ extern void tpAwait(Future *future); } \ static inline NAME ## _fut NAME ## Future(ARG arg) { \ return (NAME ## _fut) { \ - .fut = { .fn = &NAME ## Thunk }, \ + .fut = { .fn = &NAME ## Thunk, .status=FUT_WAITING}, \ .arg = arg \ }; \ } \ -- cgit v1.2.3-54-g00ecf