Update cathook for new boost mutex in IPC
This commit is contained in:
parent
c0969586d4
commit
2222511e36
2
external/simple-ipc
vendored
2
external/simple-ipc
vendored
@ -1 +1 @@
|
||||
Subproject commit 53e629695cbc941f9be5c1e398d6bb8d4eb9c433
|
||||
Subproject commit 085ec77f13ac8143116fe57317d9b7275fe16a57
|
@ -28,9 +28,7 @@ static settings::String server_name{ "ipc.server", "cathook_followbot_server" };
|
||||
|
||||
CatCommand fix_deadlock("ipc_fix_deadlock", "Fix deadlock", []() {
|
||||
if (peer)
|
||||
{
|
||||
pthread_mutex_unlock(&peer->memory->mutex);
|
||||
}
|
||||
peer->memory->mutex.unlock();
|
||||
});
|
||||
|
||||
CatCommand id("ipc_id", "Echo ipc id", []() { logging::Info("%d", ipc::peer->client_id); });
|
||||
|
Reference in New Issue
Block a user