* src/threads/native/threads.c (setPriority): Renamed to
threads_set_thread_priority.
(removeFromWaiters): Renamed to threads_remove_waiter.
(timespec_less): Renamed to threads_timespec_earlier.
(timeIsEarlier): Renamed to threads_current_time_is_earlier_than.
(waitWithTimeout): Renamed to threads_wait_with_timeout. Removed unused
argument `lr`.
(thread_sleep): There is no need to create a lock record for
calling threads_wait_with_timeout, as that does not use the
lock record anyway (formerly waitWithTimeout).
(various function): Lots of documentation and cleanup.