Support > 300 threads on x86-32 and other 32-bit systems