-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi. This is not an actual issue, but didn't find another point of contact.
Trying to understand the client design.
See async_websocket_client::run():
// We need an additional thread for the processing of incoming work items
std::thread processing_thread (
[this]() {
this->m_io_context.run();
}
);
// This call will block until no more work remains in the ASIO work queue
m_io_context.run();
The client doesn't seem to use an explicit strand for serializing tasks.
- Is this still guaranteed to work?
- How is the
processing_threadbound to read operations? - Can this client send and receive messages independently?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels