You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
The last two paragraphs of the signals documentation page says:
Warning: it is essential to avoid task switching inside Gtk callbacks, as this corrupts the Gtk C-stack.
For example, use @async print or queue a message for yourself.
...
These restrictions should be fixed once JuliaLang/julia#13099 is merged.
First, the phrase "For example, use @async print or queue a message for yourself." is unclear to me. Does it mean this is an example of task switching that should be avoided, or is it an instruction for how to avoid task switching?
Second, it looks like JuliaLang/julia#13099 is merged, so should these two paragraphs be deleted? Or is some warning still needed?
I am studying this documentation because I have a Gtk callback with a read call (from an audio stream) in it that is not working (it just hangs, does not crash), so I am wondering if I am "task switching" unknowingly.
I would submit a PR to refine the documentation if I understood the situation...
The text was updated successfully, but these errors were encountered:
The last two paragraphs of the signals documentation page says:
Warning: it is essential to avoid task switching inside Gtk callbacks, as this corrupts the Gtk C-stack.
For example, use @async print or queue a message for yourself.
...
These restrictions should be fixed once JuliaLang/julia#13099 is merged.
First, the phrase "For example, use @async print or queue a message for yourself." is unclear to me. Does it mean this is an example of task switching that should be avoided, or is it an instruction for how to avoid task switching?
Second, it looks like JuliaLang/julia#13099 is merged, so should these two paragraphs be deleted? Or is some warning still needed?
I am studying this documentation because I have a Gtk callback with a
read
call (from an audio stream) in it that is not working (it just hangs, does not crash), so I am wondering if I am "task switching" unknowingly.I would submit a PR to refine the documentation if I understood the situation...
The text was updated successfully, but these errors were encountered: