| Package | Description |
|---|---|
| org.jruby | |
| org.jruby.ext.fiber | |
| org.jruby.ext.timeout | |
| org.jruby.internal.runtime | |
| org.jruby.management | |
| org.jruby.runtime |
| Modifier and Type | Field and Description |
|---|---|
(package private) RubyThread |
RubyRegexp.SearchMatchTask.thread |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<RubyThread> |
RubyIO.blockingThreads |
private java.util.Set<RubyThread> |
RubyThreadGroup.rubyThreadList |
| Modifier and Type | Method and Description |
|---|---|
static RubyThread |
RubyThread.adopt(IRubyObject recv,
java.lang.Thread t) |
private static RubyThread |
RubyThread.adoptThread(IRubyObject recv,
java.lang.Thread t,
Block block) |
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) |
private static RubyThread |
RubyThread.startThread(IRubyObject recv,
IRubyObject[] args,
boolean callInit,
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.
|
(package private) void |
RubyThreadGroup.addDirectly(RubyThread rubyThread) |
private org.jruby.util.ByteList |
RubyIO.blockingFRead(Stream stream,
RubyThread thread,
int length) |
private static void |
RubyThread.debug(RubyThread thread,
java.lang.String message) |
private org.jruby.util.ByteList |
RubyIO.fread(RubyThread thread,
int length) |
void |
RubyThreadGroup.remove(RubyThread rubyThread) |
void |
RubyIO.removeBlockingThread(RubyThread thread)
Remove a thread from the list of blocking threads for this IO.
|
| Constructor and Description |
|---|
SearchMatchTask(RubyThread thread,
org.joni.Matcher matcher,
int start,
int range,
int option,
boolean match) |
| Modifier and Type | Field and Description |
|---|---|
(package private) RubyThread |
ThreadFiber.FiberData.parent |
(package private) RubyThread |
ThreadFiber.thread |
| Modifier and Type | Method and Description |
|---|---|
(package private) static RubyThread |
ThreadFiber.createThread(Ruby runtime,
ThreadFiber.FiberData data,
SizedQueue queue,
Block block) |
RubyThread |
ThreadFiber.getThread() |
| Constructor and Description |
|---|
FiberData(SizedQueue queue,
RubyThread parent,
ThreadFiber fiber) |
| Modifier and Type | Field and Description |
|---|---|
(package private) RubyThread |
Timeout.TimeoutTask.currentThread |
| Modifier and Type | Method and Description |
|---|---|
(package private) static Timeout.TimeoutTask |
Timeout.TimeoutTask.newAnnonymousTask(RubyThread currentThread,
IRubyObject timeout,
java.util.concurrent.atomic.AtomicBoolean latch,
IRubyObject id) |
(package private) static Timeout.TimeoutTask |
Timeout.TimeoutTask.newTaskWithException(RubyThread currentThread,
IRubyObject timeout,
java.util.concurrent.atomic.AtomicBoolean latch,
IRubyObject exception) |
| Constructor and Description |
|---|
TimeoutTask(RubyThread currentThread,
IRubyObject timeout,
java.util.concurrent.atomic.AtomicBoolean latch,
IRubyObject id,
IRubyObject exception) |
| Modifier and Type | Field and Description |
|---|---|
RubyThread |
FutureThread.rubyThread |
RubyThread |
NativeThread.rubyThread |
private RubyThread |
RubyRunnable.rubyThread |
RubyThread |
ThreadService.Event.sender |
RubyThread |
ThreadService.Event.target |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.Object,RubyThread> |
ThreadService.rubyThreadMap
A map from a Java Thread or Future to its RubyThread instance.
|
| Modifier and Type | Method and Description |
|---|---|
RubyThread[] |
ThreadService.getActiveRubyThreads() |
RubyThread |
ThreadService.getMainThread() |
RubyThread |
RubyRunnable.getRubyThread()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.Object,RubyThread> |
ThreadService.getRubyThreadMap()
Get the map from threadlike objects to RubyThread instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ThreadService.associateThread(java.lang.Object threadOrFuture,
RubyThread rubyThread) |
ThreadContext |
ThreadService.getThreadContextForThread(RubyThread thread) |
ThreadContext |
ThreadService.registerNewThread(RubyThread thread) |
void |
ThreadService.setMainThread(java.lang.Thread thread,
RubyThread rubyThread) |
void |
ThreadService.unregisterThread(RubyThread thread) |
| Constructor and Description |
|---|
Event(RubyThread sender,
RubyThread target,
ThreadService.Event.Type type) |
Event(RubyThread sender,
RubyThread target,
ThreadService.Event.Type type,
IRubyObject exception) |
FutureThread(RubyThread rubyThread,
ThreadedRunnable runnable) |
NativeThread(RubyThread rubyThread,
IRubyObject[] args,
Block block) |
NativeThread(RubyThread rubyThread,
java.lang.Thread nativeThread) |
RubyRunnable(RubyThread rubyThread,
IRubyObject[] args,
Block currentBlock) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
Runtime.dumpThread(Ruby ruby,
RubyThread th,
TraceType.Gather gather,
java.io.PrintWriter pw) |
| Modifier and Type | Field and Description |
|---|---|
private RubyThread |
ThreadContext.rootThread |
private RubyThread |
ThreadContext.thread |
| 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) |