Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
ThreadPool.h File Reference
#include "Stroika/Foundation/StroikaPreComp.h"
#include <list>
#include <mutex>
#include "Stroika/Foundation/Containers/Collection.h"
#include "Stroika/Foundation/Execution/Function.h"
#include "Stroika/Foundation/Execution/Thread.h"
#include "Stroika/Foundation/Execution/WaitableEvent.h"
#include "ThreadPool.inl"

Go to the source code of this file.

Classes

class  Stroika::Foundation::Execution::ThreadPool
 
struct  Stroika::Foundation::Execution::ThreadPool::QMax
 
struct  Stroika::Foundation::Execution::ThreadPool::Statistics
 

Namespaces

namespace  Stroika::Foundation
 
namespace  Stroika::Foundation::Execution
 

Detailed Description

Note
Code-Status: Beta

TODO:

For example, if you had 3 threads in the pool, and 5 thread groups, then typically one or more thread groups would be idle. The thread groups give you lockless execution, and the threadpool lets the 5 groups run 'at the same time' on only 3 threads.

Definition in file ThreadPool.h.