Test seam with a hook at each claim of a contended entry.
More...
#include "donner/base/tasks/WorkStealingDeque.h"
|
|
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.
|
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: