fake waiting by sleep on windows

This commit is contained in:
Michael Krasnyk 2017-01-13 10:49:02 +01:00 committed by Patrick Niklaus
parent 3837f9d015
commit b8f631f6f6

View File

@ -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: