|
MADNESS 0.10.1
|
Unit tests for madness::detail::thread_specific — the reclaimable per-thread storage backing the eval scratch buffers. More...
#include <madness/world/MADworld.h>#include <madness/world/thread_specific.h>#include <atomic>#include <cstdio>#include <mutex>#include <set>#include <thread>#include <utility>#include <vector>
Functions | |
| int | main (int argc, char **argv) |
Unit tests for madness::detail::thread_specific — the reclaimable per-thread storage backing the eval scratch buffers.
Covers: single-thread identity and seeding, clear()-reseeds (including that clear() invalidates a thread's cached fast-path slot via the generation stamp), and one distinct instance per concurrent thread.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References madness::finalize(), and madness::initialize().