xref: /openbmc/sdbusplus/include/sdbusplus/async/stdexec/inline_scheduler.hpp (revision 10d0b4b7d1498cfd5c3d37edea271a54d1984e41)
1 /*
2  * Copyright (c) 2021-2024 NVIDIA Corporation
3  *
4  * Licensed under the Apache License Version 2.0 with LLVM Exceptions
5  * (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  *
8  *   https://llvm.org/LICENSE.txt
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #pragma once
17 
18 #include "../stdexec/execution.hpp"
19 
20 namespace exec {
21   // A simple scheduler that executes its continuation inline, on the
22   // thread of the caller of start().
23   using inline_scheduler
24     [[deprecated("Use stdexec::inline_scheduler instead")]] = stdexec::inline_scheduler;
25 } // namespace exec
26