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

REPL hanging when 'using AravisCameras' with more than one thread #5

Closed
denglerchr opened this issue Dec 6, 2024 · 4 comments
Closed

Comments

@denglerchr
Copy link

I noticed that the library seems to have some negative effect when starting Julia with more than a single thread.
To reproduce just:
julia -t 2
using AravisCameras
then write anything in the REPL

Since one doesnt actually have to use any functionality, I guess the init() function is what is causing this=

@jwahlstrand
Copy link
Owner

jwahlstrand commented Dec 6, 2024

I have a lot of code that used to work fine with multiple threads... This seems to be a new issue with Gtk4 on Julia 1.11.

@jwahlstrand
Copy link
Owner

Closing here since this is definitely a Gtk4 issue: see JuliaGtk/Gtk4.jl#78

@jwahlstrand
Copy link
Owner

The hang only seems to occur if you have multiple threads in the same pool as the one used by Gtk4. So if you start Julia with julia -t 2,1 you can have 2 default threads and 1 interactive thread.

@denglerchr
Copy link
Author

Thanks, Ill give this and maybe Julia 1.10 a try.

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

No branches or pull requests

2 participants