Skip to content

Fix data race by reloading satellites on the main thread#409

Open
benner wants to merge 1 commit into
csete:masterfrom
benner:fix/tle-reload-on-main-thread
Open

Fix data race by reloading satellites on the main thread#409
benner wants to merge 1 commit into
csete:masterfrom
benner:fix/tle-reload-on-main-thread

Conversation

@benner

@benner benner commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

mod_mgr_reload_sats() manipulates GTK widgets but ran on the background TLE update thread, racing the main loop that reads the same state. Schedule the reload on the main loop via an idle callback so all GTK access stays on the main thread.

mod_mgr_reload_sats() manipulates GTK widgets but ran on the background
TLE update thread, racing the main loop that reads the same state. Schedule
the reload on the main loop via an idle callback so all GTK access stays on
the main thread.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
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.

1 participant