- Add "thr_" prefix to thread utility functions - Compare threadid_ts in a portable manner, where possible