Lines Matching refs:Thread
92 typedef struct Thread { struct
196 struct Thread* waitNext; argument
208 struct Thread* prev; argument
209 struct Thread* next; argument
242 } Thread; argument
256 volatile Thread** pThread;
272 Thread* dvmThreadSelf(void);
275 void dvmLockThreadList(Thread* self);
297 void dvmSuspendThread(Thread* thread);
299 void dvmResumeThread(Thread* thread);
307 bool dvmIsSuspended(const Thread* thread);
312 void dvmWaitForSuspend(Thread* thread);
318 bool dvmCheckSuspendPending(Thread* self);
324 INLINE bool dvmCheckSuspendQuick(Thread* self) { in dvmCheckSuspendQuick()
340 ThreadStatus dvmChangeStatus(Thread* self, ThreadStatus newStatus);
443 Thread* dvmGetThreadFromThreadObject(Object* vmThreadObj);
451 Thread* dvmGetThreadByHandle(pthread_t handle);
459 Thread* dvmGetThreadByThreadId(u4 threadId);
470 char* dvmGetThreadName(Thread* thread);
481 bool dvmIsOnThreadList(const Thread* thread);
486 INLINE JNIEnv* dvmGetThreadJNIEnv(Thread* self) { return self->jniEnv; } in dvmGetThreadJNIEnv()
487 INLINE void dvmSetThreadJNIEnv(Thread* self, JNIEnv* env) { self->jniEnv = env;} in dvmSetThreadJNIEnv()
492 void dvmChangeThreadPriority(Thread* thread, int newPriority);
503 int dvmRaiseThreadPriorityIfNeeded(Thread* thread, int* pSavedThreadPrio,
510 void dvmResetThreadPriority(Thread* thread, int changeFlags,
516 void dvmDumpThread(Thread* thread, bool isRunning);
517 void dvmDumpThreadEx(const DebugOutputTarget* target, Thread* thread,
530 void dvmNukeThread(Thread* thread);
558 void dvmAddToMonitorList(Thread* self, Object* obj, bool withTrace);
559 void dvmRemoveFromMonitorList(Thread* self, Object* obj);
560 LockedObjectData* dvmFindInMonitorList(const Thread* self, const Object* obj);