| 20 | } |
| 21 | |
| 22 | static void assert_in_executor(Executor& executor) { |
| 23 | if (!executor.is_running_in()) { |
| 24 | ::abort(); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | static void assert_not_in_executor(Executor& executor) { |
| 29 | if (executor.is_running_in()) { |
nothing calls this directly
no test coverage detected