Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::tasks::NoRecordPoolHooks Struct Reference

Test seam with a hook at each step of the return stack where a return and the owner's take can interleave. More...

#include "donner/base/tasks/TaskRecord.h"

Static Public Member Functions

static void BeforeReturnPublishes ()
 Called by CreatorRecordPool::returnFromOtherThread after it linked the record to the head it read, before the compare-and-swap that publishes it.
static void BeforeOwnerTakesReturns ()
 Called by the owner when it found returned records, before the exchange that takes them.

Detailed Description

Test seam with a hook at each step of the return stack where a return and the owner's take can interleave.

Production code uses this policy, whose hooks compile to nothing.


The documentation for this struct was generated from the following file: