Some Linux threading issues were solved