[argobots-discuss] Attribution of ULT ids
mdorier at anl.gov
Sun Jun 20 10:15:35 CDT 2021
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss