Added threads supports [CS]