mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-24 11:57:37 +02:00
Use strand executors
This commit is contained in:
parent
e6872593ee
commit
12aeb5859c
15 changed files with 38 additions and 38 deletions
|
@ -229,7 +229,7 @@ void AirplayStream::pipeReadLine()
|
|||
try
|
||||
{
|
||||
int fd = open(pipePath_.c_str(), O_RDONLY | O_NONBLOCK);
|
||||
pipe_fd_ = std::make_unique<boost::asio::posix::stream_descriptor>(ioc_, fd);
|
||||
pipe_fd_ = std::make_unique<boost::asio::posix::stream_descriptor>(strand_, fd);
|
||||
LOG(INFO, LOG_TAG) << "Metadata pipe opened: " << pipePath_ << "\n";
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue