Maratyszcza / pthreadpool

Portable (POSIX/Windows/Emscripten) thread pool for C/C++
BSD 2-Clause "Simplified" License
342 stars 132 forks source link

pthreadpool_deallocate and pthreadpool_allocate are not defined. #8

Closed iand111 closed 4 years ago

iand111 commented 4 years ago

I am having trouble building pthreadpool (the end goal is to build NNPACK and NNPACK-darknet). First I run confu setup and python configure.py before failing to build using ninja. I see these functions are defined in the threadpool-object.h file, but cannot locate its implementation. Could I be missing a dependency somewhere? Thank you in advance.

Maratyszcza commented 4 years ago

Please use CMake to build pthreadpool. Confu build is deprecated.