MCPcopy Create free account
hub / github.com/ElementsProject/elements / TestOtherThread

Function TestOtherThread

src/test/util_tests.cpp:2018–2021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2016}
2017
2018static void TestOtherThread(fs::path dirname, std::string lockname, bool *result)
2019{
2020 *result = LockDirectory(dirname, lockname);
2021}
2022
2023#ifndef WIN32 // Cannot do this test on WIN32 due to lack of fork()
2024static constexpr char LockCommand = 'L';

Callers

nothing calls this directly

Calls 1

LockDirectoryFunction · 0.85

Tested by

no test coverage detected