org.jruby.internal.runtime
Class ThreadService
java.lang.Object
org.jruby.internal.runtime.ThreadService
- public class ThreadService
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadService
public ThreadService(Ruby runtime)
disposeCurrentThread
public void disposeCurrentThread()
getCurrentContext
public ThreadContext getCurrentContext()
getMainThread
public RubyThread getMainThread()
setMainThread
public void setMainThread(RubyThread thread)
getActiveRubyThreads
public RubyThread[] getActiveRubyThreads()
getRubyThreadGroup
public java.lang.ThreadGroup getRubyThreadGroup()
registerNewThread
public void registerNewThread(RubyThread thread)
unregisterThread
public void unregisterThread(RubyThread thread)
setCritical
public void setCritical(boolean critical)
getCritical
public boolean getCritical()
waitForCritical
public void waitForCritical()
Copyright © 2002-2007 JRuby Team. All Rights Reserved.