wxMaxima
Loading...
Searching...
No Matches
Data Structures
ThreadNumberLimiter.h File Reference

A mutex that locks if we have too many background threads. More...

#include <mutex>
#include <atomic>
#include <condition_variable>
Include dependency graph for ThreadNumberLimiter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ThreadNumberLimiter
 Waits until more cores are available than threads are running. More...
 

Detailed Description

A mutex that locks if we have too many background threads.

Creates a mutex that locks as long as we have more background threads than processors