[argobots-discuss] Attribution of ULT ids

Dorier, Matthieu 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...
URL: <http://lists.argobots.org/pipermail/discuss/attachments/20210620/1aba18b1/attachment.html>

More information about the discuss mailing list