Ed Tanous | 9838eb2 | 2025-01-29 16:24:42 -0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: Apache-2.0 |
2 | // SPDX-FileCopyrightText: Copyright OpenBMC Authors | ||||
3 | #pragma once | ||||
4 | |||||
5 | #include <boost/asio/io_context.hpp> | ||||
6 | |||||
7 | inline boost::asio::io_context& getIoContext() | ||||
8 | { | ||||
9 | static boost::asio::io_context io; | ||||
10 | return io; | ||||
11 | } |