Skip to content

Route badge spawns through a thread-safe queue#99

Merged
supermarsx merged 1 commit intomainfrom
smx/implement-thread-safe-queue-for-badge-spawning-2025-11-01
Nov 2, 2025
Merged

Route badge spawns through a thread-safe queue#99
supermarsx merged 1 commit intomainfrom
smx/implement-thread-safe-queue-for-badge-spawning-2025-11-01

Conversation

@supermarsx
Copy link
Owner

Summary

  • add a mutex-protected queue to Overlay for cross-thread badge spawn requests
  • process queued spawn requests on the overlay thread each frame before updating badges
  • update the keyboard hook callback to enqueue spawn requests instead of spawning badges directly

Testing

  • cmake -S . -B build -G Ninja (terminated after hanging while fetching external dependencies)

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

@supermarsx supermarsx merged commit 84ae3a5 into main Nov 2, 2025
0 of 9 checks passed
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