Title: Generating threads inside class instance stops execution · mruby/mruby · Discussion #6077 · GitHub
Open Graph Title: Generating threads inside class instance stops execution · mruby/mruby · Discussion #6077
X Title: Generating threads inside class instance stops execution · mruby/mruby · Discussion #6077
Description: Generating threads inside class instance stops execution
Open Graph Description: I'm using the mruby-thread gem in order to use threads in my app. Solution 1 100.times.each_with_object([]) do |i, a| a << Thread.new do p i Thread.sleep 1 end end.each { |t| t.join } works while s...
X Description: I'm using the mruby-thread gem in order to use threads in my app. Solution 1 100.times.each_with_object([]) do |i, a| a << Thread.new do p i Thread.sleep 1 end end.each { |t| t.join } wor...
Opengraph URL: https://github.com/mruby/mruby/discussions/6077
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:37426b4a-1418-5d95-2c36-9cfabd29f729 |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | A524:6D911:1050542:16CBFF8:696E0928 |
| html-safe-nonce | d1cc4d2074ee32042c916745cdb1160a2ca954dfee4390b629f973e672fdaeb4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTI0OjZEOTExOjEwNTA1NDI6MTZDQkZGODo2OTZFMDkyOCIsInZpc2l0b3JfaWQiOiI2MDUxMjMzMzM5ODI3Njg1NjcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 55cf7cc09762aadb344548bbc69caf5e0a71b9404959517cd7c14d79dac77dbf |
| hovercard-subject-tag | discussion:5721827 |
| github-keyboard-shortcuts | repository,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/Voltron::DiscussionsFragmentsController/show/mruby/mruby/6077/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/7b71e87edac6c52801eb033adf6966cd91ee1dd8378e321363cb6682795a88d1/mruby/mruby/discussions/6077 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b71e87edac6c52801eb033adf6966cd91ee1dd8378e321363cb6682795a88d1/mruby/mruby/discussions/6077 |
| og:image:alt | I'm using the mruby-thread gem in order to use threads in my app. Solution 1 100.times.each_with_object([]) do |i, a| a << Thread.new do p i Thread.sleep 1 end end.each { |t| t.join } works while s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0b1760aa20e1a810eba6245d04e3885be7363dfe08d08b61f605c852359472e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/mruby/mruby git https://github.com/mruby/mruby.git |
| octolytics-dimension-user_id | 1796512 |
| octolytics-dimension-user_login | mruby |
| octolytics-dimension-repository_id | 4073516 |
| octolytics-dimension-repository_nwo | mruby/mruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4073516 |
| octolytics-dimension-repository_network_root_nwo | mruby/mruby |
| 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 | 84090305cd10c2b140bf307f69f57f0892b4f215 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width