-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipc::channel 在调试模式,打断点,容易会出现,收不到消息的情况,且数据比较大的会出现连接断开的现象; #107
Comments
原因是因为打断点了吗?看起来好像是因为断点导致的超时。周末有空我看看。 |
是断点导致的,同理 如果 执行太久 数据太多,线程阻塞 应该都会引起这个问题; |
感谢老大 |
我查了下,posix里只有 一个简单的做法是在调试的时候把 enum : std::uint32_t {
invalid_value = (std::numeric_limits<std::uint32_t>::max)(),
default_timeout = 100, // ms
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
无法拿到数据,不好排查;
The text was updated successfully, but these errors were encountered: