-
Notifications
You must be signed in to change notification settings - Fork 75
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
Concurrency issues #71
Comments
@stugol Can you present tests or snippets which reproduce the problem so that we could take a look? |
After six months? Are you serious? Maybe if you had responded within a sensible period of time, I would still have the code. As it stands however, I probably gave up on ever getting it resolved, and changed the code to work a different way. I guess I could try to reproduce the problem from scratch. If I do this, are you going to respond quickly, or will it be another colossal waste of time? |
Well, I was one of the watchers at that time. No active communications were made for a long time in the project. So I have decided to make it progress. If you rewrite the code, I would appreciate it! If you don't, it's ok. |
@stugol that's my fault, not @minamimonji so please don't take it out on him. I am the maintainer of the project and I was lax in my work here as I was focused on RxJS and other libraries as my primary libraries and was hoping to get help to make this one a success. |
Sure, no problem. I'll see what I can whip up. |
Well, I've not had much time recently to attempt this, but I had a go this evening. I've not (yet) managed to reproduce the bug; primarily because all the other bugs keep getting in the way...
It would also help if [a] there was any documentation; and [b] the examples actually worked. |
Alright, it would seem I was getting conflicts with previous versions of the library. It runs now. Although not correctly.
This code should produce a stream of 1s, each on their own line. However, we seem to be getting race conditions, which shouldn't happen! Actual output:
|
If I replace the two However, these two techniques should produce identical output. If I pipe multiple streams into a |
@stugol thank you! |
The @mattpodwysocki From the viewpoint of the Reactive Extensions, is this race condition expected? Or should we fix it? |
@minamimonji race conditions should not be expected at all so we're probably missing some mutex blocks |
@stugol sorry for taking time to response. I made some changes to @mattpodwysocki Can you review it and make some comments? |
I'm trying to use Rx in my Ruby project, but I'm having difficulty with concurrency. I have two threads, each pushing to its own observable. I am piping these two observables into a single Subject, and subscribing to that. However, the subscription is now being called in parallel, rather than having the messages queue up. I tried using a Scheduler, but they all appear to be broken:
Incidentally, the concurrency issue doesn't seem to occur if I call Merge instead of piping them into a Subject.
How can I get help for this issue, please?
Cheers,
Stuart.
The text was updated successfully, but these errors were encountered: