User thread library