org.jruby.cext
Class JRuby.NativeFunctionTask

java.lang.Object
  extended by org.jruby.cext.JRuby.NativeFunctionTask
All Implemented Interfaces:
RubyThread.BlockingTask
Enclosing class:
JRuby

public static final class JRuby.NativeFunctionTask
extends java.lang.Object
implements RubyThread.BlockingTask


Field Summary
 long retval
           
 
Constructor Summary
JRuby.NativeFunctionTask(org.jruby.cext.Native nativeInstance, long run, long run_data, long wakeup, long wakeup_data)
           
 
Method Summary
 void run()
           
 void wakeup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

retval

public long retval
Constructor Detail

JRuby.NativeFunctionTask

public JRuby.NativeFunctionTask(org.jruby.cext.Native nativeInstance,
                                long run,
                                long run_data,
                                long wakeup,
                                long wakeup_data)
Method Detail

run

public void run()
         throws java.lang.InterruptedException
Specified by:
run in interface RubyThread.BlockingTask
Throws:
java.lang.InterruptedException

wakeup

public void wakeup()
Specified by:
wakeup in interface RubyThread.BlockingTask


Copyright © 2002-2009 JRuby Team. All Rights Reserved.