typedef _64 THREAD_ID;
sack_types.h
This should be for several years a sufficiently large type to represent threads and processes.
Types