diff options
author | Sven Gothel <[email protected]> | 2015-09-12 17:29:31 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-09-12 17:29:31 +0200 |
commit | 2b97ed6d238a0db1e2cf7bdf15349e90eaaa8dfc (patch) | |
tree | af8429652c07fae310cd2b85921667126019904f /src/java/com/jogamp/common/util/ArrayHashSet.java | |
parent | 47495cd2a228534578731346c8baf2b190bcd241 (diff) |
Bug 1213 (related): Fix TaskBase, RunnableTask and FunctionTask implementation and semantics
- TaskBase
- requires 'volatile boolean isExecuted' for atomic query of same semantics
- fix isInQueue(): condition was reverse in regars to 'isExecuted'
- expose 'Thread getExecutionThread()' as learned within run() method.
- RunnableTask
- deprecate: 'static invoke(final boolean waitUntilDone, final Runnable runnable)',
since it's nonsense, use runnable.run() instead.
- 'static RunnableTask invokeOnNewThread(..)'
- uses InterruptSource.Thread
- Persistent-Wait
- Cancelable using InterruptedRuntimeException
- FunctionTask
- deprecate 'static <U,V> U invoke(final boolean waitUntilDone, final Function<U,V> func, final V... args)',
since it's nonsense, use func.eval(args) instead.
- 'static FunctionTask<U,V> invokeOnNewThread(..)'
- uses InterruptSource.Thread
- Persistent-Wait
- Cancelable using InterruptedRuntimeException
Diffstat (limited to 'src/java/com/jogamp/common/util/ArrayHashSet.java')
0 files changed, 0 insertions, 0 deletions