Package | Description |
---|---|
org.jruby | |
org.jruby.internal.runtime | |
org.jruby.runtime |
Modifier and Type | Field and Description |
---|---|
protected List<RubyThread> |
RubyIO.blockingThreads |
Modifier and Type | Method and Description |
---|---|
static RubyThread |
RubyThread.adopt(IRubyObject recv,
Thread t) |
static RubyThread |
RubyThread.current(IRubyObject recv) |
static RubyThread |
RubyThread.main(IRubyObject recv) |
static RubyThread |
RubyThread.mainThread(IRubyObject receiver) |
static RubyThread |
RubyThread.start(IRubyObject recv,
IRubyObject[] args,
Block block)
Basically the same as Thread.new .
|
static RubyThread |
RubyThread.start19(IRubyObject recv,
IRubyObject[] args,
Block block) |
RubyThread |
RubyThread.wakeup() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Field and Description |
---|---|
RubyThread |
NativeThread.rubyThread |
RubyThread |
FutureThread.rubyThread |
RubyThread |
ThreadService.Event.sender |
RubyThread |
ThreadService.Event.target |
Modifier and Type | Method and Description |
---|---|
RubyThread[] |
ThreadService.getActiveRubyThreads() |
RubyThread |
ThreadService.getMainThread() |
RubyThread |
RubyRunnable.getRubyThread()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<Object,RubyThread> |
ThreadService.getRubyThreadMap()
Get the map from threadlike objects to RubyThread instances.
|
Modifier and Type | Method and Description |
---|---|
void |
ThreadService.associateThread(Object threadOrFuture,
RubyThread rubyThread) |
ThreadContext |
ThreadService.getThreadContextForThread(RubyThread thread) |
ThreadContext |
ThreadService.registerNewThread(RubyThread thread) |
void |
ThreadService.setMainThread(Thread thread,
RubyThread rubyThread) |
void |
ThreadService.unregisterThread(RubyThread thread) |
Constructor and Description |
---|
FutureThread(RubyThread rubyThread,
ThreadedRunnable runnable) |
NativeThread(RubyThread rubyThread,
IRubyObject[] args,
Block block) |
NativeThread(RubyThread rubyThread,
Thread nativeThread) |
RubyRunnable(RubyThread rubyThread,
IRubyObject[] args,
Block currentBlock) |
ThreadService.Event(RubyThread sender,
RubyThread target,
ThreadService.Event.Type type) |
ThreadService.Event(RubyThread sender,
RubyThread target,
ThreadService.Event.Type type,
IRubyObject exception) |
Modifier and Type | Method and Description |
---|---|
RubyThread |
ThreadContext.getFiberCurrentThread() |
RubyThread |
ThreadContext.getThread() |
Modifier and Type | Method and Description |
---|---|
void |
ThreadContext.setRootThread(RubyThread rootThread) |
void |
ThreadContext.setThread(RubyThread thread) |
Copyright © 2001-2013 JRuby. All Rights Reserved.