Implementation of a thread library for a college assignment.