Title: Can channels be used between threads? · Issue #9 · phasync/phasync · GitHub
Open Graph Title: Can channels be used between threads? · Issue #9 · phasync/phasync
X Title: Can channels be used between threads? · Issue #9 · phasync/phasync
Description: I'm a fairly avid user of the Parallel extension and am quite used to Parallel's channels for inter-thread communication. Can these channels be shared across threads? It looks like it can just use file descriptors, in which case it can w...
Open Graph Description: I'm a fairly avid user of the Parallel extension and am quite used to Parallel's channels for inter-thread communication. Can these channels be shared across threads? It looks like it can just use ...
X Description: I'm a fairly avid user of the Parallel extension and am quite used to Parallel's channels for inter-thread communication. Can these channels be shared across threads? It looks like it can j...
Opengraph URL: https://github.com/phasync/phasync/issues/9
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can channels be used between threads?","articleBody":"I'm a fairly avid user of the Parallel extension and am quite used to Parallel's channels for inter-thread communication. Can these channels be shared across threads? \r\n\r\nIt looks like it can just use file descriptors, in which case it can work?\r\n\r\nIt'd be great to see some of these parts broken up into traits for reuse instead of making so much `final` as well, as there's quite a bit of behavior baked-in that makes the library hard to extend without forking. In general, any type that can be passed as a parameter probably should not be `final`.\r\n\r\nAlso, off-topic, it may be good to try to use a WeakMap instead of relying on SPL's object id:\r\n\r\nhttps://3v4l.org/s3bFJ\r\n\r\nIt's probably faster, or at least more memory efficient since it cleans up itself. Right now, there's nothing cleaning up your arrays of object ids (afaik).","author":{"url":"https://github.com/withinboredom","@type":"Person","name":"withinboredom"},"datePublished":"2024-05-23T12:50:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/9/phasync/issues/9"}
| 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:68bbafc9-195e-b2ae-aba2-ecef141f2e71 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 947A:3F004:1A6C734:22365A7:699095FB |
| html-safe-nonce | 49c83a63d9d63975f261808099701ed3b770d51de33590af5b3bc0bb6c60c316 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDdBOjNGMDA0OjFBNkM3MzQ6MjIzNjVBNzo2OTkwOTVGQiIsInZpc2l0b3JfaWQiOiIxNzIyMDc1MTk2NDYwOTMwNTU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3c9e8643e52b6468dfee1f080694af684d5b428c1a559e54d22946ed82e6ce75 |
| hovercard-subject-tag | issue:2312843476 |
| 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/phasync/phasync/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cf245fb3902056da98dca83f0c3ac011df65057b96d4148090b9a83a6787589d/phasync/phasync/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cf245fb3902056da98dca83f0c3ac011df65057b96d4148090b9a83a6787589d/phasync/phasync/issues/9 |
| og:image:alt | I'm a fairly avid user of the Parallel extension and am quite used to Parallel's channels for inter-thread communication. Can these channels be shared across threads? It looks like it can just use ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | withinboredom |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/phasync/phasync git https://github.com/phasync/phasync.git |
| octolytics-dimension-user_id | 167413172 |
| octolytics-dimension-user_login | phasync |
| octolytics-dimension-repository_id | 788340115 |
| octolytics-dimension-repository_nwo | phasync/phasync |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 788340115 |
| octolytics-dimension-repository_network_root_nwo | phasync/phasync |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width