MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / TestOtherThread

Function TestOtherThread

src/test/util_tests.cpp:1078–1081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1076}
1077
1078static void TestOtherThread(fs::path dirname, std::string lockname, bool *result)
1079{
1080 *result = LockDirectory(dirname, lockname);
1081}
1082
1083#ifndef WIN32 // Cannot do this test on WIN32 due to lack of fork()
1084static constexpr char LockCommand = 'L';

Callers

nothing calls this directly

Calls 1

LockDirectoryFunction · 0.85

Tested by

no test coverage detected