Eliminate a very ugly race - the parallel starting threads were picking up thread identifiers other than their own. Because the limit of threads is an int, stuffing the int into the void* value is a safe argument convention.