aboutsummaryrefslogtreecommitdiff
path: root/src/submission.hh
diff options
context:
space:
mode:
authorNicolas James <nj3ahxac@gmail.com>2026-04-07 01:43:56 +1000
committerNicolas James <nj3ahxac@gmail.com>2026-04-07 01:43:56 +1000
commit341b9b65a57dee1d4d16ec0994fe9a414b542ba5 (patch)
tree882c7600607daf6e885024929c9cd5bcfb4e4459 /src/submission.hh
parentb725e39d1a38e018e72389de7d72d7db351a8ccb (diff)
Fix rare race when timestamps are returned to the pool and reused before their work completes
Diffstat (limited to 'src/submission.hh')
-rw-r--r--src/submission.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/submission.hh b/src/submission.hh
index e14f3f0..ba721c2 100644
--- a/src/submission.hh
+++ b/src/submission.hh
@@ -8,7 +8,7 @@ namespace low_latency {
class Submission {
public:
- std::shared_ptr<TimestampPool::Handle> start, end;
+ std::shared_ptr<TimestampPool::Handle> handle;
DeviceClock::time_point_t time;
};