Moved struct threadpool_task to threadpool.h. Moved -D_GNU_SOURCE to CMakeFile. Added error.h which defines errstr which returns a string corresponding to the current errno value