Bit of a strange request maybe but looking for some help.
I have some cpython code I'm writing in which I want to effectively do what is achieved by Java5's FutureTask, i.e.
- invoke a task in a new thread
- at some later point get the result of task execution, waiting if need be for it to complete
I'm guessing this may be easily written in native python but sleep deprivation is making the language translation beyond my grasp today :-/
If I used Jython, is there anything to be aware of with respect to leveraging java5 util.concurrent classes ?