| 130 | */ |
| 131 | |
| 132 | bool phase2() |
| 133 | { |
| 134 | { |
| 135 | const auto ret = ThisThread::get().join(); // attempting to join current thread must fail |
| 136 | if (ret != EDEADLK) |
| 137 | return false; |
| 138 | } |
| 139 | |
| 140 | return true; |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * \brief Phase 3 of test case |