HomeSort by relevance Sort by last modified time
    Searched defs:MyThread (Results 1 - 9 of 9) sorted by null

  /dalvik/tests/051-thread/src/
Main.java 26 MyThread[] threads = new MyThread[512];
28 threads[i] = new MyThread();
31 for (MyThread thread : threads) {
34 for (MyThread thread : threads) {
38 System.out.println("Thread count: " + MyThread.mCount);
64 static class MyThread extends Thread {
67 synchronized (MyThread.class) {
  /external/valgrind/unittest/
thread_wrappers_win.h 193 class MyThread {
197 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL)
199 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL)
201 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL)
204 ~MyThread(){
219 static DWORD WINAPI ThreadBody(MyThread *my_thread) {
thread_wrappers_pthread.h 334 class MyThread {
338 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL)
340 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL)
342 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL)
345 ~MyThread(){ w_ = NULL; arg_ = NULL;}
350 static void ThreadBody(MyThread *my_thread) {
  /frameworks/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 466 class MyThread : public Thread {
483 MyThread(const sp<SurfaceTexture>& mST)
490 ~MyThread() {
507 MyThread* thread = new MyThread(mST);
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldServerSocketChannelTest.java 92 class MyThread extends Thread {
106 MyThread thread = new MyThread();
  /external/valgrind/main/drd/tests/
tsan_thread_wrappers_pthread.h 342 class MyThread {
346 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL)
348 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL)
350 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL)
353 ~MyThread(){ w_ = NULL; arg_ = NULL;}
358 static void ThreadBody(MyThread *my_thread) {
507 MyThread *thread = new MyThread(&ThreadPool::Worker, this);
537 std::vector<MyThread*> workers_;
  /libcore/luni/src/test/java/libcore/java/lang/
OldThreadGroupTest.java 29 class MyThread extends Thread {
32 public MyThread(ThreadGroup group, String name)
136 List<MyThread> newThreads = populateGroupsWithThreads(group, groupSize);
139 for(MyThread thread : newThreads) {
153 for(MyThread thread : newThreads) {
195 List<MyThread> subThreads = populateGroupsWithThreads(thrGroup, 3);
202 for(MyThread thr:subThreads) {
213 List<MyThread> subThreads1 = populateGroupsWithThreads(subGroup1, 3);
220 for(MyThread thr:subThreads1) {
229 for(MyThread thr:subThreads)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ThreadGroupTest.java 24 class MyThread extends Thread {
27 public MyThread(ThreadGroup group, String name)
980 private boolean allSuspended(Vector<MyThread> threads) {
982 MyThread t = threads.elementAt(i);
1016 private Vector<MyThread> populateGroupsWithThreads(final ThreadGroup aGroup,
1018 Vector<MyThread> result = new Vector<MyThread>();
1025 final int threadCount, final Vector<MyThread> allCreated) {
1028 final String name = "(MyThread)N =" + iClone + "/" + threadCount
1031 MyThread t = new MyThread(aGroup, name)
    [all...]
ThreadTest.java 297 class MyThread extends Thread {
298 MyThread(ThreadGroup tg, String name) {
363 MyThread t = new MyThread(tg, "top");

Completed in 488 milliseconds