Title: class ‘PythonQtScriptingConsole’ doesn't work well after multithreading is enabled · Issue #40 · MeVisLab/pythonqt · GitHub
Open Graph Title: class ‘PythonQtScriptingConsole’ doesn't work well after multithreading is enabled · Issue #40 · MeVisLab/pythonqt
X Title: class ‘PythonQtScriptingConsole’ doesn't work well after multithreading is enabled · Issue #40 · MeVisLab/pythonqt
Description: I found that when I enable multithreading support, I have to apply macro ‘PYTHONQT_GIL_SCOPE’ to the whole message loop to make class ‘PythonQtScriptingConsole’ work well. In general, this seems OK, but when I wanted to use macro 'PYTHON...
Open Graph Description: I found that when I enable multithreading support, I have to apply macro ‘PYTHONQT_GIL_SCOPE’ to the whole message loop to make class ‘PythonQtScriptingConsole’ work well. In general, this seems OK...
X Description: I found that when I enable multithreading support, I have to apply macro ‘PYTHONQT_GIL_SCOPE’ to the whole message loop to make class ‘PythonQtScriptingConsole’ work well. In general, this seems OK...
Opengraph URL: https://github.com/MeVisLab/pythonqt/issues/40
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"class ‘PythonQtScriptingConsole’ doesn't work well after multithreading is enabled","articleBody":"I found that when I enable multithreading support, I have to apply macro ‘**PYTHONQT_GIL_SCOPE**’ to the whole message loop to make class ‘_PythonQtScriptingConsole_’ work well.\r\nIn general, this seems OK, but when I wanted to use macro '**PYTHONQT_ALLOW_THREADS_SCOPE**' when the console was running, I found that I couldn't solve the problem.\r\nAs you know, when macro '**PYTHONQT_GIL_SCOPE**' exists, macro '**PYTHONQT_ALLOW_THREADS_SCOPE**' is temporarily disabled.\r\nTherefore, when the class ‘_PythonQtScriptingConsole_’ does not execute any code at this time, the python thread created previously will not have a chance to be executed.\r\nSo I think if class ‘_PythonQtScriptingConsole_’ can support multithreading, class ‘_PythonQtScriptingConsole_’ will be better.\r\n","author":{"url":"https://github.com/dawnrs","@type":"Person","name":"dawnrs"},"datePublished":"2021-02-26T19:47:22Z","url":"https://github.com/MeVisLab/pythonqt/issues/40"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:361b5021-513e-7300-e6ac-3093c08a9a4b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C268:90AA6:280603:34E32B:6AFF7580 |
| html-safe-nonce | 29100752b66463833b8f638d54c57f89cb8e4b8254e79e2fca1776860acf1c68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjY4OjkwQUE2OjI4MDYwMzozNEUzMkI6NkFGRjc1ODAiLCJ2aXNpdG9yX2lkIjoiNzI3OTkwMTQ5NzU3ODQ1MjM1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bb876ea750c9c94fc13e9962985f2266bb534b035cb9ac0f116c8da3862083ef |
| hovercard-subject-tag | issue:817617962 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/MeVisLab/pythonqt/40/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05db965e4cfa3481194d636fa5b9a5daee3d2f4e9faf2e822492d56fb8637a7c/MeVisLab/pythonqt/issues/40 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05db965e4cfa3481194d636fa5b9a5daee3d2f4e9faf2e822492d56fb8637a7c/MeVisLab/pythonqt/issues/40 |
| og:image:alt | I found that when I enable multithreading support, I have to apply macro ‘PYTHONQT_GIL_SCOPE’ to the whole message loop to make class ‘PythonQtScriptingConsole’ work well. In general, this seems OK... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dawnrs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35e31dc3576ce5a5753c960de52d6fbb2e3131488d65b48fb38a436f42fcbefe |
| turbo-cache-control | no-preview |
| go-import | github.com/MeVisLab/pythonqt git https://github.com/MeVisLab/pythonqt.git |
| octolytics-dimension-user_id | 15028021 |
| octolytics-dimension-user_login | MeVisLab |
| octolytics-dimension-repository_id | 193056137 |
| octolytics-dimension-repository_nwo | MeVisLab/pythonqt |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193056137 |
| octolytics-dimension-repository_network_root_nwo | MeVisLab/pythonqt |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ed8a67e95c8353d0d4bc94ad2812a7ecbf91bffa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width