Custom user thread library for linux