| 41 | // once pipes implement interruptChildren |
| 42 | |
| 43 | BOOST_AUTO_TEST_CASE(test_interrupt_before_accept) { |
| 44 | TPipeServer pipe1("TPipeInterruptTest"); |
| 45 | pipe1.listen(); |
| 46 | pipe1.interrupt(); |
| 47 | BOOST_CHECK_THROW(pipe1.accept(), TTransportException); |
| 48 | } |
| 49 | |
| 50 | static void acceptWorker(TPipeServer *pipe) { |
| 51 | try |