/external/jemalloc/test/src/ |
thd.c | 5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) 8 *thd = CreateThread(NULL, 0, routine, arg, 0, NULL); 9 if (*thd == NULL) 14 thd_join(thd_t thd, void **ret) 17 if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) { 19 GetExitCodeThread(thd, (LPDWORD) &exit_code); 26 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) 29 if (pthread_create(thd, NULL, proc, arg) != 0) 34 thd_join(thd_t thd, void **ret) 37 pthread_join(thd, ret) [all...] |
/external/jemalloc_new/test/src/ |
thd.c | 5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) { 7 *thd = CreateThread(NULL, 0, routine, arg, 0, NULL); 8 if (*thd == NULL) { 14 thd_join(thd_t thd, void **ret) { 15 if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) { 17 GetExitCodeThread(thd, (LPDWORD) &exit_code); 24 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) { 25 if (pthread_create(thd, NULL, proc, arg) != 0) { 31 thd_join(thd_t thd, void **ret) { 32 pthread_join(thd, ret) [all...] |
/external/jemalloc/test/include/test/ |
thd.h | 8 void thd_create(thd_t *thd, void *(*proc)(void *), void *arg); 9 void thd_join(thd_t thd, void **ret);
|
/external/jemalloc_new/test/include/test/ |
thd.h | 8 void thd_create(thd_t *thd, void *(*proc)(void *), void *arg); 9 void thd_join(thd_t thd, void **ret);
|
/external/grpc-grpc/src/ruby/end2end/ |
killed_client_thread_client.rb | 33 thd = Thread.new do 40 thd.join
|
sig_int_during_channel_watch_client.rb | 36 thd = Thread.new do 54 thd.join
|
channel_closing_client.rb | 48 thd = Thread.new do 66 thd.join
|
multiple_killed_watching_threads_driver.rb | 24 thd = Thread.new do 32 thd.kill
|
/external/jemalloc_new/test/unit/ |
tsd.c | 73 thd_t thd; local 76 thd_create(&thd, thd_start, (void *)MALLOC_TSD_TEST_DATA_INIT); 77 thd_join(thd, NULL); 121 thd_t thd; local 122 thd_create(&thd, thd_start_reincarnated, NULL); 123 thd_join(thd, NULL);
|
/cts/suite/audio_quality/test_description/processing/ |
playback_thd.py | 23 # calculate THD for dut_playback_thd case 26 # THD pass level in percentile (double) 27 # Output: THD device (double) in percentile 52 thd = calc_thd(hostRecording, signalFrequency, samplingRate, 0.02) * 100 53 print "THD %", thd, "Margain % ", thdPassPercentile 54 if (thd < thdPassPercentile): 58 outputData.append(thd)
|
/external/grpc-grpc/test/core/iomgr/ |
wakeup_fd_cv_test.cc | 29 #include "src/core/lib/gprpp/thd.h" 137 grpc_core::Thread thd("grpc_background_poll", &background_poll, &pargs); 138 thd.Start(); 141 thd.Join(); 155 grpc_core::Thread thd("grpc_background_poll", &background_poll, &pargs); 156 thd.Start(); 158 thd.Join(); 172 grpc_core::Thread thd("grpc_background_poll", &background_poll, &pargs); 173 thd.Start(); 175 thd.Join() [all...] |
resolve_address_posix_test.cc | 31 #include "src/core/lib/gprpp/thd.h" 41 grpc_core::Thread thd; member in struct:args_struct 63 args->thd.Join(); 64 // Don't need to explicitly destruct args->thd since 108 args->thd = grpc_core::Thread("grpc_poll_pollset", actually_poll, args); 109 args->thd.Start();
|
/external/jemalloc/test/unit/ |
tsd.c | 88 thd_t thd; local 91 thd_create(&thd, thd_start, (void *)THREAD_DATA); 92 thd_join(thd, NULL);
|
/external/jemalloc_new/test/integration/ |
thread_tcache_enabled.c | 71 thd_t thd; local 73 thd_create(&thd, thd_start, NULL); 74 thd_join(thd, NULL);
|
allocated.c | 108 thd_t thd; local 110 thd_create(&thd, thd_start, NULL); 111 thd_join(thd, NULL);
|
/art/test/1931-monitor-events/src/art/ |
Test1931.java | 41 public static void handleMonitorEnter(Thread thd, Object lock) { 42 System.out.println(thd.getName() + " contended-LOCKING " + lock); 45 public static void handleMonitorEntered(Thread thd, Object lock) { 46 System.out.println(thd.getName() + " LOCKED " + lock); 48 public static void handleMonitorWait(Thread thd, Object lock, long timeout) { 49 System.out.println(thd.getName() + " start-monitor-wait " + lock + " timeout: " + timeout); 52 public static void handleMonitorWaited(Thread thd, Object lock, boolean timed_out) { 53 System.out.println(thd.getName() + " monitor-waited " + lock + " timed_out: " + timed_out); 138 Thread thd = new Thread(() -> { local 146 thd.start() [all...] |
/art/openjdkjvmti/ |
ti_object.cc | 102 for (art::Thread* thd : info.waiters_) { 105 notify_wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); 106 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); 111 for (art::Thread* thd : art::Runtime::Current()->GetThreadList()->GetList()) { 112 if (thd != info.owner_ && target.Ptr() == thd->GetMonitorEnterObject()) { 113 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread()));
|
/external/grpc-grpc/test/core/gpr/ |
cpu_test.cc | 34 #include "src/core/lib/gprpp/thd.h" 116 grpc_core::Thread* thd = local 117 static_cast<grpc_core::Thread*>(gpr_malloc(sizeof(*thd) * nthreads)); 120 thd[i] = grpc_core::Thread("grpc_cpu_test", &worker_thread, &ct); 121 thd[i].Start(); 129 thd[i].Join(); 131 gpr_free(thd);
|
/external/jemalloc/test/integration/ |
allocated.c | 108 thd_t thd; local 110 thd_create(&thd, thd_start, NULL); 111 thd_join(thd, NULL);
|
thread_tcache_enabled.c | 96 thd_t thd; local 98 thd_create(&thd, thd_start, NULL); 99 thd_join(thd, NULL);
|
/external/grpc-grpc/test/core/gprpp/ |
fork_test.cc | 21 #include "src/core/lib/gprpp/thd.h" 83 for (auto& thd : thds) { 84 thd.Join(); 118 grpc_core::Thread thd = local 123 thd.Start(); 128 thd.Join(); // This ensure that the call got un-blocked
|
/art/test/1932-monitor-events-misc/src/art/ |
Test1932.java | 26 public default void handleMonitorEnter(Thread thd, Object lock) {} 27 public default void handleMonitorEntered(Thread thd, Object lock) {} 28 public default void handleMonitorWait(Thread thd, Object lock, long timeout) {} 29 public default void handleMonitorWaited(Thread thd, Object lock, boolean timed_out) {} 179 @Override public void handleMonitorEntered(Thread thd, Object l) { 203 @Override public void handleMonitorWaited(Thread thd, Object l, boolean timeout) { 234 @Override public void handleMonitorWait(Thread thd, Object l, long timeout) { 262 @Override public void handleMonitorWaited(Thread thd, Object l, boolean timeout) { 289 @Override public void handleMonitorWaited(Thread thd, Object l, boolean timeout) { 325 @Override public void handleMonitorEnter(Thread thd, Object l) [all...] |
/external/grpc-grpc/src/core/lib/iomgr/ |
executor.h | 25 #include "src/core/lib/gprpp/thd.h" 37 grpc_core::Thread thd; member in struct:__anon23133
|
/external/grpc-grpc/src/cpp/thread_manager/ |
thread_manager.cc | 25 #include "src/core/lib/gprpp/thd.h" 96 void ThreadManager::MarkAsCompleted(WorkerThread* thd) { 99 completed_threads_.push_back(thd); 122 for (auto thd : completed_threads) delete thd;
|
thread_manager.h | 29 #include "src/core/lib/gprpp/thd.h" 138 void MarkAsCompleted(WorkerThread* thd);
|