Ron Pressler
Ron Pressler
Sure, but we need your help. Any contribution to the docs with examples of how to run the Quasar AOT instrumentation Ant task with various build tools is very welcome.
I am not going to merge it at this time, but in any case, there's a mistake in your code: `MIN_PRIORITY` and `MAX_PRIORITY` cannot be static methods. The strand creating...
@disposableme 1. I think a Phaser would solve your issue likely better than priorities. 2. The new changes allow you to use relative ordering, as the scheduler now has access...
@disposableme I don't understand. Why not just subclass `Fiber`, and pass the actor a `FiberFactory` that returns those `Comparable` fibers? You could use it like so ``` myActor.spawn(new PrioritizedFactory(someComparator)) ```...
I don't think you need to subclass `RunnableFiberTask`, as you now have access to the fiber itself and are free to subclass it as you like.
Can you share your code?
> Is one fiber parked more than once? It appears that way from the exception, but I have a hard time seeing how this could happen. If you don't mind...
I am not sure I understand the problem. Like `LockSupport.park/unpark` and all other synchronization primitives, `park/unpark` use a lease system and `park` must be called inside a loop as "before"...
Does this happen when you use `sleep` instead of `park`? While this behavior is not what you'd expect (and I may decide to fix it), I don't believe it is...
Yes. See the [documentation for `park`/`unpark` in the JDK](http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/LockSupport.html).