Print warning on Windows that we can't wait for clients
This commit is contained in:
parent
b6f9ec2a33
commit
763ad0d047
@ -205,6 +205,13 @@ class SharedMemory
|
|||||||
return Remove(k);
|
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:
|
private:
|
||||||
static void build_key(int id, char *key) { sprintf(key, "%s.%d", "osrm.lock", id); }
|
static void build_key(int id, char *key) { sprintf(key, "%s.%d", "osrm.lock", id); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user