Skip to content

Add TimerScheduler for Qt-like timers - #73

Closed
LimiNode wants to merge 3 commits into
mainfrom
codex/add-timerscheduler-for-timer-management
Closed

Add TimerScheduler for Qt-like timers#73
LimiNode wants to merge 3 commits into
mainfrom
codex/add-timerscheduler-for-timer-management

Conversation

@LimiNode

Copy link
Copy Markdown
Owner

Summary

  • add a header-only TimerScheduler with Timer support for single-shot and repeating callbacks
  • expose the new scheduler in the umbrella header
  • cover manual and threaded execution paths with a dedicated test

Testing

  • cmake -S . -B build
  • cmake --build build
  • ctest --test-dir build

https://chatgpt.com/codex/tasks/task_e_68d1ea4e844c832c94779ffe336ff33d

Introduce TimerScheduler with Qt-like timers and cover functionality with tests.
Measure elapsed time for single-shot timer to ensure it waits roughly one second before firing.
- guard callback access with a mutex and store intervals atomically to avoid data races\n- document worker vs manual processing semantics, add stop_and_wait(), and enforce process() assertions\n- adjust the timer scheduler test to cover stop_and_wait() on worker-driven timers
@LimiNode LimiNode closed this Sep 23, 2025
@LimiNode
LimiNode deleted the codex/add-timerscheduler-for-timer-management branch December 5, 2025 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant