aboutsummaryrefslogtreecommitdiff
path: root/nlsolve.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-07-26 18:39:53 +0200
committerAnton Khirnov <anton@khirnov.net>2020-07-26 18:39:53 +0200
commit29f5b628317bcf83ddc5bfeaec92108b6bb1e89d (patch)
tree60b476d9a073045e3bc1cf5729b47174d04f7701 /nlsolve.h
parente6180b82d89d69846cfdd7881dd067ff38ea6a79 (diff)
Switch to external threadpool library.
Diffstat (limited to 'nlsolve.h')
-rw-r--r--nlsolve.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nlsolve.h b/nlsolve.h
index 426cb24..eaa2b64 100644
--- a/nlsolve.h
+++ b/nlsolve.h
@@ -19,10 +19,11 @@
#ifndef TEUKOLSKY_DATA_NLSOLVE_H
#define TEUKOLSKY_DATA_NLSOLVE_H
+#include <threadpool.h>
+
#include "basis.h"
#include "log.h"
#include "pssolve.h"
-#include "threadpool.h"
typedef struct NLSolvePriv NLSolvePriv;
@@ -43,7 +44,7 @@ typedef struct NLSolveContext {
* caller before tdi_nlsolve_context_init(), otherwise a single thread will
* be used.
*/
- ThreadPoolContext *tp;
+ TPContext *tp;
/**
* Number of equations/unknown functions in the set.