Add spinlock and tests for it.
Sanitizer
run_thread_sanitizer
#13 main /builds/gitlab/las3/development/scheduling/predictable_parallel_patterns/extern/catch2/catch.hpp:14554 (tests+0x000000405e03)
SUMMARY: ThreadSanitizer: data race /builds/gitlab/las3/development/scheduling/predictable_parallel_patterns/test/base_tests.cpp:50 operator()
==================
===============================================================================
All tests passed (6 assertions in 5 test cases)
ThreadSanitizer: reported 1 warnings
ERROR: Job failed: exit code 1