/* Re-sort a Thread in linked Object list by Priority (Highest at Head).  */
void osRtxThreadListSort(os_thread_t *thread)
/* Re-sort a Thread in linked Object list by Priority (Highest at Head).  */
void osRtxThreadListSort(os_thread_t *thread)
{
    thread0 = thread0->thread_prev;
  }
  object = osRtxObject(thread0);
  if (object != NULL) {
    osRtxThreadListRemove(thread);
    osRtxThreadListPut(object, thread);
  }
}