Uses of Class
org.jruby.RubyThread
Packages that use RubyThread
Package
Description
-
Uses of RubyThread in org.jruby
Methods in org.jruby that return RubyThreadModifier and TypeMethodDescriptionstatic RubyThread
RubyThread.adopt
(Ruby runtime, ThreadService service, Thread thread) static RubyThread
RubyThread.adopt
(IRubyObject recv, Thread t) static RubyThread
RubyThread.current
(IRubyObject recv) Ruby.getChdirThread()
RubyThread.getFiberCurrentThread()
static RubyThread
RubyThread.main
(IRubyObject recv) static RubyThread
RubyThread.mainThread
(IRubyObject receiver) static RubyThread
RubyThread.start
(IRubyObject recv, IRubyObject[] args, Block block) Deprecated.static RubyThread
RubyThread.start
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) Basically the same as Thread.new .protected static RubyThread
RubyThread.startWaiterThread
(Ruby runtime, long pid, Block block) RubyThread.wakeup()
Methods in org.jruby with parameters of type RubyThreadModifier and TypeMethodDescriptionvoid
RubyIO.addBlockingThread
(RubyThread thread) Add a thread to the list of blocking threads for this IO.void
RubyThreadGroup.remove
(RubyThread rubyThread) void
RubyIO.removeBlockingThread
(RubyThread thread) Remove a thread from the list of blocking threads for this IO.void
Ruby.setChdirThread
(RubyThread thread) void
RubyThread.setFiberCurrentThread
(RubyThread fiberCurrentThread) void
RubyThread.ReadWrite.wakeup
(RubyThread thread, Data data) default void
RubyThread.RegexMatch.wakeup
(RubyThread thread, org.joni.Matcher matcher) void
RubyThread.Task.wakeup
(RubyThread thread, Data data) void
RubyThread.Unblocker.wakeup
(RubyThread thread, Data self) -
Uses of RubyThread in org.jruby.ext.fiber
Methods in org.jruby.ext.fiber that return RubyThreadMethods in org.jruby.ext.fiber with parameters of type RubyThreadModifier and TypeMethodDescriptionstatic void
ThreadFiber.initRootFiber
(ThreadContext context, RubyThread currentThread) -
Uses of RubyThread in org.jruby.internal.runtime
Fields in org.jruby.internal.runtime declared as RubyThreadModifier and TypeFieldDescriptionfinal RubyThread
AdoptedNativeThread.rubyThread
final RubyThread
RubyNativeThread.rubyThread
Methods in org.jruby.internal.runtime that return RubyThreadModifier and TypeMethodDescriptionThreadService.getActiveRubyThreads()
ThreadService.getMainThread()
RubyRunnable.getRubyThread()
Deprecated.Methods in org.jruby.internal.runtime that return types with arguments of type RubyThreadMethods in org.jruby.internal.runtime with parameters of type RubyThreadModifier and TypeMethodDescriptionvoid
ThreadService.associateThread
(Thread thread, RubyThread rubyThread) void
ThreadService.deliverEvent
(RubyThread sender, RubyThread target, ThreadService.Event event) Deprecated.ThreadService.getThreadContextForThread
(RubyThread thread) Deprecated.static ThreadService.Event
ThreadService.Event.kill
(RubyThread sender, RubyThread target, ThreadService.Event.Type type) Deprecated.static ThreadService.Event
ThreadService.Event.raise
(RubyThread sender, RubyThread target, ThreadService.Event.Type type, IRubyObject exception) Deprecated.ThreadService.registerNewThread
(RubyThread thread) void
ThreadService.setMainThread
(Thread thread, RubyThread rubyThread) void
ThreadService.unregisterThread
(RubyThread thread) static ThreadService.Event
ThreadService.Event.wakeup
(RubyThread sender, RubyThread target, ThreadService.Event.Type type) Deprecated.Constructors in org.jruby.internal.runtime with parameters of type RubyThreadModifierConstructorDescriptionAdoptedNativeThread
(RubyThread rubyThread, Thread nativeThread) RubyNativeThread
(RubyThread rubyThread, Thread nativeThread) RubyRunnable
(RubyThread rubyThread, ThreadContext creatorContext, IRubyObject[] args, Block currentBlock, int callInfo) -
Uses of RubyThread in org.jruby.runtime
Methods in org.jruby.runtime that return RubyThreadModifier and TypeMethodDescriptionThreadContext.getFiberCurrentThread()
ThreadContext.getThread()
Methods in org.jruby.runtime with parameters of type RubyThread -
Uses of RubyThread in org.jruby.util.io
Fields in org.jruby.util.io with type parameters of type RubyThreadMethods in org.jruby.util.io with parameters of type RubyThreadModifier and TypeMethodDescriptionvoid
OpenFile.addBlockingThread
(RubyThread thread) Add a thread to the list of blocking threads for this IO.boolean
OpenFile.ready
(Ruby runtime, RubyThread thread, int ops, long timeout) Wait until the channel is available for the given operations or the timeout expires.void
OpenFile.removeBlockingThread
(RubyThread thread) Remove a thread from the list of blocking threads for this IO.