mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 00:40:58 +01:00
Merge pull request #8436 from liamwhite/asio-usage
core/debugger: fix asio write usage
This commit is contained in:
commit
4ae75bec50
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ public:
|
||||||
}
|
}
|
||||||
stopped = true;
|
stopped = true;
|
||||||
|
|
||||||
signal_pipe.write_some(boost::asio::buffer(&thread, sizeof(thread)));
|
boost::asio::write(signal_pipe, boost::asio::buffer(&thread, sizeof(thread)));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void WriteToClient(std::span<const u8> data) override {
|
void WriteToClient(std::span<const u8> data) override {
|
||||||
client_socket.write_some(boost::asio::buffer(data.data(), data.size_bytes()));
|
boost::asio::write(client_socket, boost::asio::buffer(data.data(), data.size_bytes()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetActiveThread(Kernel::KThread* thread) override {
|
void SetActiveThread(Kernel::KThread* thread) override {
|
||||||
|
|
Loading…
Reference in a new issue