Updated for linux compatibility. But consider using C++ STL threads
Merge branch 'master' of https://github.com/yousry/libdispatch