-
Notifications
You must be signed in to change notification settings - Fork 376
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
windows 下写文件无法追加内容 #648
Comments
windows 上work around 一下,创建coro_file 的时候设置为thread pool: coro_io::basic_seq_coro_file<coro_io::execution_type::thread_pool> file{};
file.open("test.txt", std::ios::app);
co_await file.async_write("test"); |
解决方法,修改asio源码
|
或者你在asio 这个pr:chriskohlhoff/asio#1500 |
再发一个diff的截图吧。 |
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: