Home
last modified time | relevance | path

Searched refs:thrd (Results 1 – 19 of 19) 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()
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()
DStatusDebuggee.java47 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
51 thrd.start(); in run()
DInterruptDebuggee.java51 DebuggeeThread thrd = new DebuggeeThread(TESTED_THREAD, in run() local
55 thrd.start(); in run()
DForceEarlyReturnDebuggee.java94 DebuggeeThread thrd = new DebuggeeThread(threadName); in run() local
96 thrd.start(); in run()
/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/share/
DJDWPUnitDebuggeeProcessWrapper.java290 ProcessWaiter thrd = new ProcessWaiter(); in WaitForProcessExit() local
291 thrd.setDaemon(true); in WaitForProcessExit()
292 thrd.start(); in WaitForProcessExit()
294 thrd.join(settings.getTimeout()); in WaitForProcessExit()
299 if (thrd.isAlive()) { in WaitForProcessExit()
303 thrd.interrupt(); in WaitForProcessExit()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/
DNameDebuggee.java59 DebuggeeThread thrd = new DebuggeeThread(thrdGroupChild, TESTED_THREAD, in run() local
63 thrd.start(); in run()
DChildrenDebuggee.java58 DebuggeeThread thrd = new DebuggeeThread(thrdGroupParent, TESTED_THREAD, in run() local
62 thrd.start(); in run()
/external/llvm-project/mlir/test/Dialect/GPU/
Dops.mlir17 func @args(%blk : index, %thrd : index, %float : f32, %data : memref<?xf32,1>) {
20 threads(%tx, %ty, %tz) in (%block_x = %thrd, %block_y = %thrd, %block_z = %thrd) {
/external/python/cpython3/Programs/
D_testembed.c263 unsigned long thrd = PyThread_start_new_thread(bpo20891_thread, &lock); in test_bpo20891() local
264 if (thrd == PYTHREAD_INVALID_THREAD_ID) { in test_bpo20891()