Skip to content
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

Java and Ruby thread do enqueue/create-threads differently #726

Open
pitr-ch opened this issue May 30, 2018 · 1 comment
Open

Java and Ruby thread do enqueue/create-threads differently #726

pitr-ch opened this issue May 30, 2018 · 1 comment
Assignees
Labels
bug A bug in the library or documentation.

Comments

@pitr-ch
Copy link
Member

pitr-ch commented May 30, 2018

Ruby pools create threads first before putting work to queue, java threads put work first into queue until full then they create new threads.

This needs to be unified.
We also need to implement java.util.concurrent.SynchronousQueue for Ruby and provide option for its usage on Ruby and Java.

@pitr-ch pitr-ch added this to the 1.0.7 milestone May 30, 2018
@pitr-ch pitr-ch self-assigned this May 30, 2018
@pitr-ch pitr-ch added the bug A bug in the library or documentation. label May 30, 2018
@pitr-ch pitr-ch added the patch label Jun 18, 2018
@pitr-ch pitr-ch added high-priority Should be done ASAP. and removed patch labels Jun 29, 2018
@pitr-ch pitr-ch removed this from the 1.0.7 milestone Jul 6, 2018
@pitr-ch
Copy link
Member Author

pitr-ch commented Jul 7, 2018

We probably need to take code from http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jdk8/java/util/concurrent/ThreadPoolExecutor.java?view=markup and modify it to match our needs.

@pitr-ch pitr-ch added this to Important in Hackathon Aug 24, 2019
@chrisseaton chrisseaton removed the high-priority Should be done ASAP. label Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in the library or documentation.
Projects
Hackathon
Important
Development

No branches or pull requests

2 participants