diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-11-22 11:00:23 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-11-22 12:13:22 +0300 |
commit | 66db06bedee4e8d3c539464ab85d8413c3c0b539 (patch) | |
tree | 0e0d2a6aeb36c45793c22bd9cefc200ddc095a5a /library/cpp/neh/asio/asio.h | |
parent | 4fbe60cb421e9b6db948035286ce602e1c2627c8 (diff) | |
download | ydb-66db06bedee4e8d3c539464ab85d8413c3c0b539.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/neh/asio/asio.h')
-rw-r--r-- | library/cpp/neh/asio/asio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/cpp/neh/asio/asio.h b/library/cpp/neh/asio/asio.h index a902d663cf..87c3c6d525 100644 --- a/library/cpp/neh/asio/asio.h +++ b/library/cpp/neh/asio/asio.h @@ -105,6 +105,9 @@ namespace NAsio { void Post(TCompletionHandler); //call handler in Run() thread-executor void Abort(); //in Run() all exist async i/o operations + timers receive error = ECANCELED, Run() exited + // not const since internal queue is lockfree and needs to increment and decrement its reference counters + size_t GetOpQueueSize() noexcept; + //counterpart boost::asio::io_service::work class TWork { public: |