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

Test seam with a hook at each claim of a contended entry. More...

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

Static Public Member Functions

static void BeforeTakeClaimsLastEntry ()
 Called by take when it found exactly one entry, before its compare-and-swap on the top index.
static void BeforeStealClaims ()
 Called by steal after it read the oldest entry, before its compare-and-swap on the top index.

Detailed Description

Test seam with a hook at each claim of a contended entry.

Production code uses this policy, whose hooks compile to nothing; deterministic interleaving tests pass a policy that pauses the calling thread inside the hook.


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