SWITCH_WAIT
if (flags & SWITCH_WAIT) {
switch_thread(2, SWITCH_SIGNAL | SWITCH_WAIT);
switch_thread(1, SWITCH_WAIT);