VGEN_WTHR_STOP
while (!(ldcp->msg_thr_flags & VGEN_WTHR_STOP)) {
(VGEN_WTHR_DATARCVD | VGEN_WTHR_STOP))) {
if (ldcp->msg_thr_flags & VGEN_WTHR_STOP) {
ldcp->msg_thr_flags |= VGEN_WTHR_STOP;
ldcp->msg_thr_flags &= ~VGEN_WTHR_STOP;
ldcp->msg_thr_flags |= VGEN_WTHR_STOP;