HomeSort by: relevance | last modified time | path
    Searched refs:threads (Results 1 - 25 of 475) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
tls-sepdebug-shared.c 18 #include <threads.h>
tls-so_extern_main.c 35 pthread_t threads[2]; local
39 pthread_create (&threads[0], NULL, tls_ptr, NULL);
40 pthread_create (&threads[1], NULL, tls_ptr, NULL);
42 pthread_join (threads[0], NULL);
43 pthread_join (threads[1], NULL);
tls-sepdebug-main.c 18 #include <threads.h>
infcall-thread-announce.c 21 /* Test can create at most this number of extra threads. */
44 /* Keep track of worker threads. */
45 struct thread_descriptor threads[MAX_THREADS]; variable in typeref:struct:thread_descriptor
86 /* Start a new thread within the global THREADS array. Return true if a
95 if (!threads[idx].started)
102 res = pthread_mutex_lock (&threads[idx].mutex);
106 res = pthread_create (&threads[idx].thr, NULL,
107 thread_function, &threads[idx]);
111 res = pthread_cond_wait (&threads[idx].cond, &threads[idx].mutex)
    [all...]
schedlock-thread-exit.c 31 pthread_t threads[nthreads]; local
35 int ret = pthread_create (&threads[i], NULL, thread_func, NULL);
41 int ret = pthread_join (threads[i], NULL);
local-watch-wrong-thread.c 70 pthread_t threads[2]; local
75 res = pthread_create (&threads[i], NULL,
81 res = pthread_create(&threads[i], NULL,
85 pthread_join (threads[0], &thread_result);
86 pthread_join (threads[1], &thread_result);
attach-slow-waitpid.c 24 /* Crude spin lock. Threads all spin until this is set to 0. */
48 /* Main program, create some threads which all spin waiting for GO to be
53 pthread_t threads[NUM_THREADS]; local
57 /* Create some threads. */
61 result_code = pthread_create (&threads[index], NULL, perform_work, &go);
71 result_code = pthread_join (threads[index], NULL);
75 printf ("In main: All threads completed successfully\n");
infcall-from-bp-cond-simple.c 69 pthread_t threads[NUM_THREADS]; local
77 pthread_create (&threads[i], NULL, worker_func, &args[i]);
83 pthread_join (threads[i], &retval);
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
tls-sepdebug-shared.c 18 #include <threads.h>
tls-so_extern_main.c 35 pthread_t threads[2]; local
39 pthread_create (&threads[0], NULL, tls_ptr, NULL);
40 pthread_create (&threads[1], NULL, tls_ptr, NULL);
42 pthread_join (threads[0], NULL);
43 pthread_join (threads[1], NULL);
tls-sepdebug-main.c 18 #include <threads.h>
infcall-thread-announce.c 21 /* Test can create at most this number of extra threads. */
44 /* Keep track of worker threads. */
45 struct thread_descriptor threads[MAX_THREADS]; variable in typeref:struct:thread_descriptor
86 /* Start a new thread within the global THREADS array. Return true if a
95 if (!threads[idx].started)
102 res = pthread_mutex_lock (&threads[idx].mutex);
106 res = pthread_create (&threads[idx].thr, NULL,
107 thread_function, &threads[idx]);
111 res = pthread_cond_wait (&threads[idx].cond, &threads[idx].mutex)
    [all...]
schedlock-thread-exit.c 31 pthread_t threads[nthreads]; local
35 int ret = pthread_create (&threads[i], NULL, thread_func, NULL);
41 int ret = pthread_join (threads[i], NULL);
local-watch-wrong-thread.c 70 pthread_t threads[2]; local
75 res = pthread_create (&threads[i], NULL,
81 res = pthread_create(&threads[i], NULL,
85 pthread_join (threads[0], &thread_result);
86 pthread_join (threads[1], &thread_result);
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.trace/
trace-mt.c 34 pthread_t threads[2]; local
38 pthread_create (&threads[i], NULL, thread_function, NULL);
41 pthread_join (threads[i], NULL);
ftrace-lock.c 74 pthread_t threads[NUM_THREADS]; local
78 pthread_create (&threads[i], NULL, thread_function, NULL);
81 pthread_join (threads[i], NULL);
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.trace/
trace-mt.c 34 pthread_t threads[2]; local
38 pthread_create (&threads[i], NULL, thread_function, NULL);
41 pthread_join (threads[i], NULL);
  /src/external/mit/libuv/dist/test/
test-thread-equal.c 39 uv_thread_t threads[2]; local
45 ASSERT_OK(uv_thread_create(threads + 0, check_thread, subthreads + 0));
46 ASSERT_OK(uv_thread_create(threads + 1, check_thread, subthreads + 1));
47 ASSERT_OK(uv_thread_join(threads + 0));
48 ASSERT_OK(uv_thread_join(threads + 1));
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
info-program.exp 31 # - THREADS: threads flavor, either single-threaded or
35 proc do_test { threads non-stop } {
38 clean_restart $::binfile-$threads
77 if {$threads == "mt"} {
122 foreach_with_prefix threads {st mt} {
124 if {$threads == "mt"} {
128 if { [build_executable "failed to prepare $threads" \
129 ${testfile}-${threads} ${srcfile} $opts] } {
134 do_test ${threads} ${non-stop
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
info-program.exp 31 # - THREADS: threads flavor, either single-threaded or
35 proc do_test { threads non-stop } {
38 clean_restart $::binfile-$threads
77 if {$threads == "mt"} {
122 foreach_with_prefix threads {st mt} {
124 if {$threads == "mt"} {
128 if { [build_executable "failed to prepare $threads" \
129 ${testfile}-${threads} ${srcfile} $opts] } {
134 do_test ${threads} ${non-stop
    [all...]
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.server/
attach-flag.c 19 pthread_t threads[NTHREADS]; local
23 pthread_create (&threads[i], NULL, thread_func, NULL);
28 pthread_join (threads[i], NULL);
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.server/
attach-flag.c 19 pthread_t threads[NTHREADS]; local
23 pthread_create (&threads[i], NULL, thread_func, NULL);
28 pthread_join (threads[i], NULL);
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/
tsan_thread.cc 50 pthread_t threads[kAlive] = {}; local
52 if (threads[i % kAlive])
53 pthread_join(threads[i % kAlive], 0);
54 pthread_create(&threads[i % kAlive], 0, thread_alot_func, 0);
57 pthread_join(threads[i], 0);
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/
interrupt-thread-group.c 44 pthread_t threads[NUM_THREADS]; local
50 int res = pthread_create (&threads[i], NULL, thread_function, NULL);
59 int res = pthread_join (threads[i], NULL);
mi-pending.c 46 pthread_t threads[NUM]; local
54 res = pthread_create (&threads[i],
61 res = pthread_join (threads[i], NULL);

Completed in 35 milliseconds

1 2 3 4 5 6 7 8 91011>>