Boost.Corosio

    • Introduction
    • Quick Start
    • Tutorials
      • Echo Server
      • HTTP Client
      • DNS Lookup
      • TLS Context Configuration
    • Guide
      • TCP/IP Networking
      • Concurrent Programming
      • I/O Context
      • Sockets
      • Acceptors
      • Endpoints
      • Composed Operations
      • Timers
      • Signal Handling
      • Name Resolution
      • TCP Server
      • TLS Encryption
      • Error Handling
      • Buffer Sequences
    • Concepts
      • Design Rationale
      • Affine Awaitables
    • Testing
      • Mock Sockets
    • Reference
    • Glossary
  • boost::corosio::basic_io_context::stop
arrow_upward

boost::corosio::basic_io_context::stop

Signal the context to stop processing.

Synopsis

Declared in <boost/corosio/basic_io_context.hpp>

void
stop();

Description

This causes run() to return as soon as possible. Any pending work items remain queued.

Created with MrDocs