> So MirServer::stop() is thread safe or is it a hack?
>
>
> """
> void MirServerWorker::stop()
> {
> server->stop();
> }
> """
Please ignore me. Now I see that MirServerWorker::run() and stop() are never called directly from the main thread but only from the within worker thread's event loop.
> So MirServer::stop() is thread safe or is it a hack? ::stop( )
>
>
> """
> void MirServerWorker
> {
> server->stop();
> }
> """
Please ignore me. Now I see that MirServerWorker ::run() and stop() are never called directly from the main thread but only from the within worker thread's event loop.