Skip to content

Conversation

neakor
Copy link
Contributor

@neakor neakor commented Nov 1, 2018

When a timeout occurs while waiting for a sequence of tasks to finish execution, it is useful to understand which task was executing when the timeout occurred. Using an Int as task ID so the SynchronizedSequenceExecutionHandle can track it using the efficient lock-free AtomicInt, in order to minimize performance cost when tracking is enabled.

When a timeout occurs while waiting for a sequence of tasks to finish execution, it is useful to understand which task was executing when the timeout occurred. Using an `Int` as task ID so the `SynchronizedSequenceExecutionHandle` can track it using the efficient lock-free `AtomicInt`, in order to minimize performance cost when tracking is enabled.
@neakor neakor requested a review from rudro November 1, 2018 20:46
@rudro rudro merged commit 5854d8e into master Nov 1, 2018
@rudro rudro deleted the executor-track_task_id-master branch November 1, 2018 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants