Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove blocking eventloop. #1882

Merged

Conversation

GillesDuvert
Copy link
Contributor

As widget_event , handleevent() and xmanager are written now, there should be only one eventlist, not two (this old feature always worried me). xmanager simply blocks on widget_event by default and the loop does not give back the line command until the blocking widgest is closed. A progressbar using a timer has been introduced in test_widgets: its behaviour is now 100% compatible with IDL ( try to create 2 test_widgets, one non blocking and the next blocking: same behaviour, even the error returned when the blocking widget is closed before the non-blocking one is also observed in IDL)

As widget_event , handleevent() and xmanager are written now, there should be only one eventlist, not two (this old feature always worried me). xmanager simply blocks on widget_event by default and the loop does not give back the line command until the blocking widgest is closed. A progressbar using a timer has been introduced in test_widgets: its behaviour is now 100% compatible with IDL ( try to create 2 test_widgets, one non blocking and the next blocking: same behaviour, even the error returned when the blocking widget is closed before the non-blocking one is also observed in IDL)
@GillesDuvert
Copy link
Contributor Author

did not find any adverse problem in test_widgets, ATV, look, Graffer etc. Merging.

@GillesDuvert GillesDuvert merged commit 61cbc2a into gnudatalanguage:master Sep 13, 2024
5 of 7 checks passed
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