added msg_send function from rx-interrupt to thread