MSGF_WAITING
if (msg->ms_flags & MSGF_WAITING) {
msg->ms_flags &= ~MSGF_WAITING;
atomic_set_int(&msg->ms_flags, MSGF_WAITING);