5 #ifndef JODA_ITHREADUSER_H
6 #define JODA_ITHREADUSER_H
9 #define JODA_THREAD_SINGLE size_t(1)
10 #define JODA_THREAD_NONE size_t(0)
11 #define JODA_THREAD_MAX std::numeric_limits<std::size_t>::max()
Definition: IThreadUser.h:13
IThreadUser(size_t maxThreads)
Definition: IThreadUser.h:15
virtual void setMaxThreads(size_t maxThreads)
Definition: IThreadUser.h:23
virtual size_t recommendedThreads() const =0
virtual void forceThreads(size_t threads)=0
virtual size_t getUsedThreads() const =0
virtual ~IThreadUser()=default
virtual size_t getMaxThreads() const
Definition: IThreadUser.h:21
size_t maxThreads
Definition: IThreadUser.h:30