There is a complete cross-platform threads implementation in std library, also I recommend to use asio from boost because it's full compatible to the networking ts. It's make Firefox better and give many advantages for the feature development process...