io_service::stop

| Home | Libraries | People | FAQ | More

#### io_service::stop

Stop the io_service's event processing loop.

    void stop();

This function does not block, but instead simply signals the io_service to stop. All invocations of its run() or run_one() member functions should return as soon as possible. Subsequent calls to run(), run_one(), poll() or poll_one() will return immediately until reset() is called.