maitake: add task IDs #267
Labels
crate/maitake
Related to the `maitake` crate
good first issue
Good for newcomers
kind/enhancement
New feature or request
needs/design
We should consider adding task IDs to
maitake
to identify a task relative to other currently running tasks. This can be useful for diagnostics (e.g. aJoinError
can indicate the ID of the task that was cancelled, etc).There are two potential approaches we could use for task IDs:
TaskRef
pointer.TaskRef
is just casting the pointer to an integer.maitake
logs already include the task's address.The text was updated successfully, but these errors were encountered: