| 78 | } |
| 79 | |
| 80 | static void assert_in_executor(Executor& executor) { |
| 81 | if (!executor.is_running_in()) { |
| 82 | ::abort(); |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | static void assert_not_in_executor(Executor& executor) { |
| 87 | if (executor.is_running_in()) { |
nothing calls this directly
no test coverage detected