Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
TaskRecord.h File Reference

Task records, and the bounded pools they are allocated from. More...

#include <atomic>
#include <cstddef>
#include <cstdint>
#include <mutex>
#include <new>
#include <type_traits>
#include <utility>
#include "donner/base/Utils.h"
#include "donner/base/tasks/FalseSharing.h"
#include "donner/base/tasks/Parker.h"
#include "donner/base/tasks/SchedulerWork.h"
#include "donner/base/tasks/ScopeStop.h"
Include dependency graph for TaskRecord.h:
This graph shows which files directly or indirectly include this file:

Classes

class  donner::tasks::TaskRecord
 One spawned task: its closure, and what the thread that finishes it needs. More...
class  donner::tasks::RecordStore
 The records one pool has created, its free list and its live count, used by one thread at a time: the owning creator for CreatorRecordPool, the holder of the guard mutex for ExternalRecordPool. More...
struct  donner::tasks::NoRecordPoolHooks
 Test seam with a hook at each step of the return stack where a return and the owner's take can interleave. More...
class  donner::tasks::CreatorRecordPool< Hooks >
 The task records of one creator, a worker or an adoptable slot: at most maxTasksPerCreator live records, allocated by the creator alone. More...
class  donner::tasks::ExternalRecordPool
 The task records of every thread that is neither a worker nor an adopted thread: at most maxExternalTasks live records, shared by all of them and used only while the caller holds the guard mutex, the global queue's. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Detailed Description

Task records, and the bounded pools they are allocated from.