asio
asio copied to clipboard
Asio C++ Library
can't implement async file operations on MacOS. #if defined(GENERATING_DOCUMENTATION) typedef implementation_defined native_handle_type; #elif defined(BOOST_ASIO_HAS_IOCP) typedef detail::win_iocp_file_service::native_handle_type native_handle_type; #elif defined(BOOST_ASIO_HAS_IO_URING) typedef detail::io_uring_file_service::native_handle_type native_handle_type; #endif
I have 2 servers communicating with each other and load generator to calculate the throughput. The below code is of my 1st Server[Main Server], which accepts request from the load...
``` asio::mutex mutex; asio::co_spawn( pool, [&]() -> asio::awaitable { // Does ASIO have such a lock? co_await mutex.lock(); }, asio::detached); ```
I am trying to write some code that will operate both the reading and writing halves of a client connection. I do not want both operations to happen simultaneously, and...
Minimal reproducible example: https://godbolt.org/z/fE3nGv4vf This has been reported by a user of Boost.MySQL that is trying to build the library with `BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT` and failing. Not having this compatibility means that...
I've stumbled across a helgrind issue in asio: ==18285== Thread #1: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread ==18285== at 0x483D296: pthread_cond_signal_WRK (hg_intercepts.c:1384) ==18285== by 0x4840AD3: pthread_cond_signal@*...
The windows specific error code 1236 `The network connection was aborted by the local system` is equivalent to `std::errc::connection_aborted`/`boost::system::errc::connection_aborted` but not to `boost::asio::error::connection_aborted`. ``` #include #include #include int main() {...
I'm creating this issue so I can obtain some feedback on some questions I have on how to organize the best way this development. Homa protocol is a RPC-like protocol...
Hello, I am a C++ developer who is interested in using Bluetooth for my projects. I have been using boost and I appreciate the high-quality and portable libraries that it...
[Cancellation slot requirements](https://www.boost.org/doc/libs/1_83_0/doc/html/boost_asio/reference/CancellationSlot.html) don't include `is_connected()` and `clear()` member functions, despite the fact that `is_connected()` is evidently used in several I/O services within Asio itself.