Print warning on Windows that we can't wait for clients

This commit is contained in:
Patrick Niklaus 2017-01-12 22:12:45 +00:00 committed by Patrick Niklaus
parent b6f9ec2a33
commit 763ad0d047

View File

@ -205,6 +205,13 @@ class SharedMemory
return Remove(k);
}
void WaitForDetach()
{
// FIXME this needs an implementation for Windows
util::Log(logWARNING)
<< "Shared memory support for Windows does not wait for clients to dettach.";
}
private:
static void build_key(int id, char *key) { sprintf(key, "%s.%d", "osrm.lock", id); }