fake waiting by sleep on windows
This commit is contained in:
parent
3837f9d015
commit
b8f631f6f6
@ -208,8 +208,9 @@ class SharedMemory
|
|||||||
void WaitForDetach()
|
void WaitForDetach()
|
||||||
{
|
{
|
||||||
// FIXME this needs an implementation for Windows
|
// FIXME this needs an implementation for Windows
|
||||||
util::Log(logWARNING)
|
util::Log(logWARNING) << "Shared memory support for Windows does not wait for clients to "
|
||||||
<< "Shared memory support for Windows does not wait for clients to dettach.";
|
"dettach. Going to sleep for 50ms.";
|
||||||
|
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user