20 Jun
2021
20 Jun
'21
10:15 a.m.
Hi, Is the ABT_unit_id associated to threads and tasks a number that necessarily increases as new threads/tasks are created? I’m asking because I would like to implement a custom pool that prioritizes running older ULTs over newer ones when possible, and one way of knowing which of multiple ULTs is older could be to look at the ABT_unit_id and prioritize ULTs with the smallest id. Thanks, Matthieu