Home
last modified time | relevance | path

Searched refs:thrd (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c249 int startThread(Thread * thrd) in startThread() argument
255 printf("Start thread priority %d\n", thrd->priority); in startThread()
256 if (pthread_attr_init(&(thrd->attr)) != 0) { in startThread()
260 thrd->flags = 0; in startThread()
262 schedp.sched_priority = thrd->priority; in startThread()
263 policy = thrd->policy; in startThread()
265 if (pthread_attr_setschedpolicy(&(thrd->attr), policy) != 0) { in startThread()
268 if (pthread_attr_getschedpolicy(&(thrd->attr), &policy) != 0) { in startThread()
273 if (pthread_attr_setschedparam(&(thrd->attr), &schedp) != 0) { in startThread()
276 if (pthread_attr_getschedparam(&(thrd->attr), &schedp) != 0) { in startThread()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DCurrentContendedMonitorDebuggee.java48 DebuggeeThread thrd; field in CurrentContendedMonitorDebuggee
52 thrd = new DebuggeeThread(TESTED_THREAD, logWriter, synchronizer); in run()
55 thrd.start(); in run()
70 if (thrd.isAlive()) { in run()
72 thrd.interrupt(); in run()
DInterruptTest.java80 Thread thrd = new RecvThread(); in testInterrupt001() local
81 thrd.start(); in testInterrupt001()
83 thrd.join(settings.getTimeout()); in testInterrupt001()
DThreadGroupDebuggee.java72 DebuggeeThread thrd = new DebuggeeThread(thrdGroup, TESTED_THREAD, in run() local
76 thrd.start(); in run()
84 while ( thrd.isAlive() ) { in run()
DStopDebuggee.java75 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
79 thrd.start(); in run()
88 while ( thrd.isAlive() ) { in run()
DStatusDebuggee.java47 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
51 thrd.start(); in run()
DOwnedMonitorsStackDepthInfoDebuggee.java43 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
47 thrd.start(); in run()
DOwnedMonitorsDebuggee.java49 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
53 thrd.start(); in run()
DInterruptDebuggee.java51 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
55 thrd.start(); in run()
DForceEarlyReturnDebuggee.java69 DebuggeeThread thrd = new DebuggeeThread(threadName); in run() local
71 thrd.start(); in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPUnitDebuggeeProcessWrapper.java275 ProcessWaiter thrd = new ProcessWaiter(); in WaitForProcessExit() local
276 thrd.setDaemon(true); in WaitForProcessExit()
277 thrd.start(); in WaitForProcessExit()
279 thrd.join(settings.getTimeout()); in WaitForProcessExit()
284 if (thrd.isAlive()) { in WaitForProcessExit()
288 thrd.interrupt(); in WaitForProcessExit()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DDisposeDuringInvokeDebuggee.java73 DebuggeeThread thrd = new DebuggeeThread(); in run() local
79 thrd.start(); in run()
83 thrd.join(); in run()
DAllThreadsDebuggee.java64 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
68 thrd.start(); in run()
77 while ( thrd.isAlive() ) { in run()
DHoldEventsDebuggee.java52 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
57 thrd.start(); in run()
DReleaseEventsDebuggee.java52 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
57 thrd.start(); in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/
DChildrenDebuggee.java58 DebuggeeThread thrd = new DebuggeeThread(thrdGroupParent, TESTED_THREAD, in run() local
62 thrd.start(); in run()
DNameDebuggee.java59 DebuggeeThread thrd = new DebuggeeThread(thrdGroupChild, TESTED_THREAD, in run() local
63 thrd.start(); in run()
/external/libmicrohttpd/src/testcurl/
Dtest_quiesce.c190 pthread_t thrd; in testGet() local
232 if (0 != pthread_create(&thrd, NULL, &ServeOneRequest, (void*)(intptr_t) fd)) in testGet()
251 if (0 != pthread_join(thrd, (void**)&thrdRet)) in testGet()