Comments (3)
The only way I can see to do this is to change how we lock. Instead of doing synchronize blocks we would need .acquire() .release() semantics. Although there is nothing wrong with that, I am going to wait on this item for a bit because of the level of effort.
from threadly.
This has kind of been put on the back burner for now since the testable facilities of threadly have yet to be seen how valuable they are. There are many other parts that have shown to be much more valuable, so I still have been giving thought as to what the future of the testability side of things may look like.
from threadly.
This is no longer relevant since TestableLock and TestablePriorityScheduler has been removed from threadly.
from threadly.
Related Issues (20)
- Create compatability layer with CompletableFuture
- Figure out potential ways to optimize large mapped chains of ListenableFuture's HOT 1
- StackOverflowError's may result in SettableListenableFuture's not completing HOT 1
- StackOverflowError's may be swallowed in ExceptionUtils.handleException HOT 1
- Move to gitlab? HOT 1
- PriorityScheduler and preemption HOT 3
- Threadly 5.32: PriorityScheduler.workerIdle spin locking with high thread limit HOT 6
- Add `ThreadlyConfig`
- ListenableFutureTask needs to be re-implemented HOT 1
- Should `ListenableFuture` be renamed to `Promise` HOT 2
- PriorityScheduler: Add ability to resisting thread starts for starvable tasks
- Split org.threadly.test to a new artifact for 6.0 HOT 2
- Add way to get ListenableFuture error state without needing to throw or use a callback HOT 1
- Unfair threadexecutor is slower than executorservice (new FixedThreadPool) HOT 5
- Add ForkJoinPool idle worker stack to be identified by Profiler
- Profiler: An additional PriorityScheduler stack is not being identified as idle HOT 1
- JDK 17 HOT 7
- ListenableFuture listener may be executed on an unexpected thread under special ListenerOptimizationStrategy configurations HOT 1
- ListenableFuture chain method HOT 7
- Consultation regarding performance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from threadly.