Removed references to pthread