*id -- A pointer to a preallocated array. This may be NULL
to only return a count of threads. No more than
*number codes will be stored in the array.
*number -- An input and output parameter, input specifies the number of allocated elements
in
*id (if non-NULL) and output specifies the number of threads.