/* Get a Thread with Highest Priority from specified Object list and remove it.  */
os_thread_t* osRtxThreadListGet(os_object_t *object)
/* Get a Thread with Highest Priority from specified Object list and remove it.  */
os_thread_t* osRtxThreadListGet(os_object_t *object)
{
    thread->thread_next->thread_prev = osRtxThreadObject(object);
  }
  thread->thread_prev = NULL;
  return thread;
}