From 47aaae2c42d554963fb811b68fdf28c9743598e8 Mon Sep 17 00:00:00 2001 From: Stefan Zabka Date: Wed, 10 Jun 2020 17:10:02 +0200 Subject: Starting threadpool --- 04_exercise/threadpool.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 04_exercise/threadpool.c (limited to '04_exercise/threadpool.c') diff --git a/04_exercise/threadpool.c b/04_exercise/threadpool.c new file mode 100644 index 0000000..3172147 --- /dev/null +++ b/04_exercise/threadpool.c @@ -0,0 +1,23 @@ +#include "threadpool.h" + +#include +#include +#include + +typedef struct ThreadPool { + /* TODO: benötigte Attribute hinzufügen */ +} ThreadPool; + +/* TODO: interne, globale Variablen hinzufügen */ + +/* TODO: interne Hilfsfunktionen hinzufügen */ + +int tpInit(size_t size) { + return 0; +} + +void tpRelease(void) {} + +void tpAsync(Future *future) {} + +void tpAwait(Future *future) {} -- cgit v1.2.3-54-g00ecf