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. | |
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.