public static interface RubyThread.Task<Data,Return> extends RubyThread.Unblocker<Data>
Modifier and Type | Method and Description |
---|---|
Return |
run(ThreadContext context,
Data data) |
void |
wakeup(RubyThread thread,
Data data) |
Return run(ThreadContext context, Data data) throws java.lang.InterruptedException
java.lang.InterruptedException
void wakeup(RubyThread thread, Data data)
wakeup
in interface RubyThread.Unblocker<Data>
Copyright © 2001-2019 JRuby. All Rights Reserved.