summaryrefslogtreecommitdiff
path: root/ell_relax.h
diff options
context:
space:
mode:
Diffstat (limited to 'ell_relax.h')
-rw-r--r--ell_relax.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ell_relax.h b/ell_relax.h
index 43546c4..9bee372 100644
--- a/ell_relax.h
+++ b/ell_relax.h
@@ -38,6 +38,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <threadpool.h>
#include "log.h"
@@ -155,6 +156,12 @@ typedef struct EllRelaxContext {
MG2DLogger logger;
/**
+ * The thread pool used for execution. May be set by the caller before
+ * mg2di_ell_relax_init().
+ */
+ TPContext *tp;
+
+ /**
* Flags indicating supported CPU features.
*/
int cpuflags;