Adds the thread to the global thread array, assigning it an ID corresponding to its index in the array.
source not stored for this graph (policy: none)
no test coverage detected