mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-24 03:48:32 +02:00
Use strand executors
This commit is contained in:
parent
e6872593ee
commit
12aeb5859c
15 changed files with 38 additions and 38 deletions
|
@ -22,6 +22,8 @@
|
|||
#include <boost/asio.hpp>
|
||||
#include <memory>
|
||||
|
||||
namespace net = boost::asio;
|
||||
|
||||
namespace streamreader
|
||||
{
|
||||
|
||||
|
@ -39,7 +41,7 @@ public:
|
|||
class Watchdog
|
||||
{
|
||||
public:
|
||||
Watchdog(boost::asio::io_context& ioc, WatchdogListener* listener = nullptr);
|
||||
Watchdog(const net::any_io_executor& executor, WatchdogListener* listener = nullptr);
|
||||
virtual ~Watchdog();
|
||||
|
||||
void start(const std::chrono::milliseconds& timeout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue