mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
compile error
This commit is contained in:
parent
d0a31d287b
commit
adbc187ffe
@ -26,8 +26,9 @@ class condition_impl : public ipc::detail::condition {
|
|||||||
public:
|
public:
|
||||||
static void remove(char const * name) {
|
static void remove(char const * name) {
|
||||||
ipc::detail::condition::remove(name);
|
ipc::detail::condition::remove(name);
|
||||||
ipc::shm::remove((name + "__COND_CNT__" ).c_str());
|
std::string n = name;
|
||||||
ipc::shm::remove((name + "__COND_WAIT__").c_str());
|
ipc::shm::remove((n + "__COND_CNT__" ).c_str());
|
||||||
|
ipc::shm::remove((n + "__COND_WAIT__").c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool open(std::string const & name) {
|
bool open(std::string const & name) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user