/dalvik/vm/os/ |
os.h | 17 struct Thread; 20 * Raises the scheduling priority of the current thread. Returns the 29 * Sets the current thread scheduling priority. Used to undo the effects 37 * Changes the priority of a system thread to match that of the Thread object. 42 void os_changeThreadPriority(Thread* thread, int newPriority); 45 * Returns the thread priority for the current thread by querying the system. 46 * This is useful when attaching a thread through JNI [all...] |
linux.cpp | 31 void os_changeThreadPriority(Thread* thread, int newPriority)
|
/libcore/luni/src/main/java/java/lang/ |
VMThread.java | 20 Thread thread; field in class:VMThread 23 VMThread(Thread t) { 24 thread = t; 27 native static void create(Thread t, long stackSize); 29 static native Thread currentThread(); 39 * Starts the VMThread (and thus the Java Thread) with the given 43 VMThread.create(thread, stackSize); 47 * Queries whether this Thread holds a monitor lock on the 56 * Holds a mapping from native Thread statuses to Java one. Required fo [all...] |
/dalvik/vm/mterp/ |
Mterp.h | 45 extern "C" bool dvmMterpStdRun(Thread* self); 46 extern "C" void dvmMterpStdBail(Thread* self, bool changeInterp);
|
/development/tools/emulator/opengl/shared/OpenglOsUtils/ |
osThreadUnix.cpp | 20 Thread::Thread() : 28 Thread::~Thread() 34 Thread::start() 38 int ret = pthread_create(&m_thread, NULL, Thread::thread_main, this); 47 Thread::wait(int *exitStatus) 66 Thread::trywait(int *exitStatus) 80 Thread::thread_main(void *p_arg) 82 Thread *self = (Thread *)p_arg [all...] |
osThreadWin.cpp | 20 Thread::Thread() : 27 Thread::~Thread() 35 Thread::start() 38 m_thread = CreateThread(NULL, 0, &Thread::thread_main, this, 0, &m_threadId); 46 Thread::wait(int *exitStatus) 70 Thread::trywait(int *exitStatus) 93 Thread::thread_main(void *p_arg) 95 Thread *self = (Thread *)p_arg [all...] |
/dalvik/tests/089-jumbo-opcodes/src/ |
Main.java | 509 Class c1 = Thread.class; 510 Class c2 = Thread.class; 511 Class c3 = Thread.class; 512 Class c4 = Thread.class; 513 Class c5 = Thread.class; 514 Class c6 = Thread.class; 515 Class c7 = Thread.class; 516 Class c8 = Thread.class; 517 Class c9 = Thread.class; 518 Class c10 = Thread.class [all...] |
/external/valgrind/main/drd/tests/ |
boost_thread.stderr.exp | 2 Thread 1. 3 Thread 2.
|
/external/valgrind/main/helgrind/tests/ |
tc04_free_lock.stderr.exp | 2 Thread #x is the program's root thread 4 Thread #x: Exiting thread still holds 2 locks
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ThreadFactory.java | 10 * An object that creates new threads on demand. Using thread factories 11 * removes hardwiring of calls to {@link Thread#Thread(Runnable) new Thread}, 12 * enabling applications to use special thread subclasses, priorities, etc. 18 * public Thread newThread(Runnable r) { 19 * return new Thread(r); 25 * useful simple implementation, that sets the created thread context 33 * Constructs a new {@code Thread}. Implementations may also initialize 36 * @param r a runnable to be executed by new thread instanc [all...] |
/external/v8/test/cctest/ |
test-platform-tls.cc | 11 using v8::internal::Thread; 15 static Thread::LocalStorageKey keys[kValueCount]; 23 CHECK(!Thread::HasThreadLocal(keys[i])); 26 Thread::SetThreadLocal(keys[i], GetValue(i)); 29 CHECK(Thread::HasThreadLocal(keys[i])); 32 CHECK_EQ(GetValue(i), Thread::GetThreadLocal(keys[i])); 33 CHECK_EQ(GetValue(i), Thread::GetExistingThreadLocal(keys[i])); 36 Thread::SetThreadLocal(keys[i], GetValue(kValueCount - i - 1)); 39 CHECK(Thread::HasThreadLocal(keys[i])); 43 Thread::GetThreadLocal(keys[i])) 63 TestThread thread; local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadStateTest.java | 23 Thread.State [] exStates = { Thread.State.NEW, Thread.State.RUNNABLE, 24 Thread.State.BLOCKED, Thread.State.WAITING, 25 Thread.State.TIMED_WAITING, Thread.State.TERMINATED }; 32 assertEquals(exStates[i], Thread.State.valueOf(spNames[i])); 38 Thread.State.valueOf(s); 47 Thread.State [] thStates = Thread.State.values() [all...] |
/cts/tools/dx-tests/src/dxc/junit/opcodes/dreturn/jm/ |
T_dreturn_7.java | 33 Thread.yield(); 41 Thread t1 = new Thread(test); 42 Thread t2 = new Thread(test); 49 Thread.sleep(5000);
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/freturn/jm/ |
T_freturn_7.java | 33 Thread.yield(); 41 Thread t1 = new Thread(test); 42 Thread t2 = new Thread(test); 49 Thread.sleep(5000);
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokespecial/jm/ |
T_invokespecial_22.java | 33 Thread.yield(); 40 Thread t1 = new Thread(test); 41 Thread t2 = new Thread(test); 48 Thread.sleep(5000);
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokestatic/jm/ |
T_invokestatic_12.java | 33 Thread.yield(); 40 Thread t1 = new Thread(test); 41 Thread t2 = new Thread(test); 48 Thread.sleep(5000);
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokevirtual/jm/ |
T_invokevirtual_2.java | 33 Thread.yield(); 40 Thread t1 = new Thread(test); 41 Thread t2 = new Thread(test); 48 Thread.sleep(5000);
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/ireturn/jm/ |
T_ireturn_7.java | 33 Thread.yield(); 41 Thread t1 = new Thread(test); 42 Thread t2 = new Thread(test); 49 Thread.sleep(5000);
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/opc_return/jm/ |
T_opc_return_2.java | 33 Thread.yield(); 40 Thread t1 = new Thread(test); 41 Thread t2 = new Thread(test); 48 Thread.sleep(5000);
|
/dalvik/tests/039-join-main/src/ |
Main.java | 4 * Make sure that a sub-thread can join the main thread. 8 Thread t; 10 t = new Thread(new JoinMainSub(Thread.currentThread()), "Joiner"); 11 System.out.print("Starting thread '" + t.getName() + "'\n"); 14 try { Thread.sleep(1000); } 22 private Thread mJoinMe; 24 public JoinMainSub(Thread joinMe) {
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
ThreadControllerWrapper.java | 33 public static Thread runThread(Runnable runnable, int priority) 38 public static void waitThread(Thread worker, Runnable task) 45 * Thread controller utility class for incremental SAX source. Must 46 * be overriden with a derived class to support thread pooling. 48 * All thread-related stuff is in this class. 54 * Will get a thread from the pool, execute the task 55 * and return the thread to the pool. 63 * @return The thread that is running the task, can be used 66 public Thread run(Runnable task, int priority) 69 Thread t = new Thread(task) [all...] |
/external/chromium/net/base/ |
network_change_notifier_linux.h | 20 class Thread; 27 // The thread used to listen for notifications. This relays the notification 28 // to the registered observers without posting back to the thread the object 30 scoped_ptr<Thread> notifier_thread_;
|
/libcore/dalvik/src/main/java/dalvik/system/ |
VMStack.java | 62 * Retrieves the stack trace from the specified thread. 65 * thread of interest 66 * @return an array of stack trace elements, or null if the thread 69 native public static StackTraceElement[] getThreadStackTrace(Thread t); 72 * Retrieves a partial stack trace from the specified thread into 76 * thread of interest 82 native public static int fillStackTraceElements(Thread t,
|
/dalvik/tests/050-sync-test/src/ |
ThreadDeathHandler.java | 3 import java.lang.Thread.UncaughtExceptionHandler; 8 public class ThreadDeathHandler implements Thread.UncaughtExceptionHandler { 15 public void uncaughtException(Thread t, Throwable e) {
|
/dalvik/tests/054-uncaught/src/ |
ThreadDeathHandler.java | 3 import java.lang.Thread.UncaughtExceptionHandler; 8 public class ThreadDeathHandler implements Thread.UncaughtExceptionHandler { 15 public void uncaughtException(Thread t, Throwable e) {
|