Lines Matching refs:thread
51 * Lock owner field. Contains the thread id of the thread currently
68 struct Thread;
78 extern "C" void dvmLockObject(Thread* self, Object* obj);
83 extern "C" bool dvmUnlockObject(Thread* self, Object* obj);
88 void dvmObjectWait(Thread* self, Object* obj,
90 void dvmObjectNotify(Thread* self, Object* obj);
91 void dvmObjectNotifyAll(Thread* self, Object* obj);
99 * Implementation of Thread.sleep().
104 * Implementation of Thread.interrupt().
106 * Interrupt a thread. If it's waiting on a monitor, wake it up.
108 void dvmThreadInterrupt(Thread* thread);
127 * (which should only happen for Thread.sleep() in the current implementation).
132 * Get the thread that holds the lock on the specified object. The
135 * The caller must lock the thread list before calling here.
137 Thread* dvmGetObjectLockHolder(Object* obj);
140 * Checks whether the object is held by the specified thread.
142 bool dvmHoldsLock(Thread* thread, Object* obj);