summaryrefslogtreecommitdiffstats
path: root/04_exercise/threadpool.c
blob: 3172147a0a4cd000e9df0c5247627fb1bb07e816 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "threadpool.h"

#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>

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) {}