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