/freebsd-10-stable/usr.bin/csup/ |
H A D | threads.h | 31 struct threads; 33 struct threads *threads_new(void); 34 void threads_create(struct threads *, void *(*)(void *), void *); 35 void *threads_wait(struct threads *); 36 void threads_free(struct threads *);
|
H A D | threads.c | 36 #include "threads.h" 40 * allows me to wait for multiple threads to exit. We use a 41 * condition variable to signal a thread's death. All threads 43 * don't need to add any code in the threads themselves. 51 struct threads *threads; member in struct:thread 56 /* A set of threads. */ 57 struct threads { struct 64 static void *thread_start(void *); /* Common entry point for threads. */ 66 static void threads_lock(struct threads *); [all...] |
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Bin/ |
H A D | j_stat.d | 60 execs = threads = methods = objnew = cload = gc = exception = 0; 97 threads++; 132 execs / interval, threads / interval, methods / interval, 135 execs = threads = methods = oalloc = cload = gc = exception = 0;
|
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Java/ |
H A D | j_stat.d | 60 execs = threads = methods = objnew = cload = gc = exception = 0; 97 threads++; 132 execs / interval, threads / interval, methods / interval, 135 execs = threads = methods = oalloc = cload = gc = exception = 0;
|
/freebsd-10-stable/lib/libkse/test/ |
H A D | sem_d.c | 62 pthread_t threads[NTHREADS]; local 106 pthread_create(&threads[i], NULL, entry, (void *) &sem_a); 114 pthread_join(threads[i], NULL); 118 pthread_create(&threads[i], NULL, entry, (void *) &sem_a); 126 pthread_join(threads[i], NULL);
|
/freebsd-10-stable/gnu/usr.bin/gdb/arch/arm/ |
H A D | Makefile | 7 LIBSRCS+= fbsd-threads.c
|
/freebsd-10-stable/gnu/usr.bin/gdb/arch/ia64/ |
H A D | Makefile | 4 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10-stable/gnu/usr.bin/gdb/arch/mips/ |
H A D | Makefile | 7 LIBSRCS+= mipsfbsd-nat.c fbsd-threads.c
|
/freebsd-10-stable/gnu/usr.bin/gdb/arch/powerpc/ |
H A D | Makefile | 4 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10-stable/gnu/usr.bin/gdb/arch/powerpc64/ |
H A D | Makefile | 4 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10-stable/contrib/xz/src/liblzma/common/ |
H A D | outqueue.h | 68 extern uint64_t lzma_outq_memusage(uint64_t buf_size_max, uint32_t threads); 81 /// \param threads Number of buffers that may be in use 92 uint64_t buf_size_max, uint32_t threads);
|
H A D | outqueue.c | 24 uint64_t buf_size_max, uint32_t threads) 26 if (threads > LZMA_THREADS_MAX || buf_size_max > BUF_SIZE_MAX) 29 // The number of buffers is twice the number of threads. 30 // This wastes RAM but keeps the threads busy when buffers 34 *bufs_count = threads * 2; 42 lzma_outq_memusage(uint64_t buf_size_max, uint32_t threads) argument 47 if (get_options(&bufs_alloc_size, &bufs_count, buf_size_max, threads) 58 uint64_t buf_size_max, uint32_t threads) 65 buf_size_max, threads)); 23 get_options(uint64_t *bufs_alloc_size, uint32_t *bufs_count, uint64_t buf_size_max, uint32_t threads) argument 57 lzma_outq_init(lzma_outq *outq, const lzma_allocator *allocator, uint64_t buf_size_max, uint32_t threads) argument
|
H A D | stream_encoder_mt.c | 68 /// thread back to the stack of free threads. 88 /// Next structure in the stack of free worker threads. 146 worker_thread *threads; member in struct:lzma_stream_coder_s 148 /// Number of structures in "threads" above. This is also the 149 /// number of threads that will be created at maximum. 153 /// thus the number of worker threads actually created so far. 156 /// Stack of free threads. When a thread finishes, it puts itself 157 /// back into this stack. This starts as empty because threads 381 // where the main thread is waiting for the threads to stop. 401 // Return this thread to the stack of free threads [all...] |
/freebsd-10-stable/contrib/netbsd-tests/usr.bin/gdb/ |
H A D | t_regress.sh | 32 atf_test_case threads 75 atf_add_test_case threads
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_getenv_thread.c | 144 atf_tc_set_md_var(tc, "descr", "Test getenv_r(3) with threads"); 150 pthread_t threads[THREADED_NUM_THREADS]; local 158 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_getenv_r, 163 ATF_CHECK(pthread_join(threads[j], NULL) == 0); 175 pthread_t threads[THREADED_NUM_THREADS]; local 183 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_putenv, 188 ATF_CHECK(pthread_join(threads[j], NULL) == 0); 200 pthread_t threads[THREADED_NUM_THREADS]; local 208 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_setenv, 213 ATF_CHECK(pthread_join(threads[ 225 pthread_t threads[THREADED_NUM_THREADS]; local [all...] |
/freebsd-10-stable/contrib/netbsd-tests/lib/libpthread_dbg/ |
H A D | t_threads.c | 78 pthread_t threads[MAX_THREADS]; local 90 (pthread_create(&threads[i], NULL, busyFunction1, NULL)); 139 pthread_t threads[MAX_THREADS]; local 153 (pthread_create(&threads[i], NULL, busyFunction2, NULL)); 167 "counted threads (%d) != expected threads (%zu)", 209 pthread_t threads[MAX_THREADS]; local 223 (pthread_create(&threads[i], NULL, busyFunction3, NULL)); 237 "counted threads (%d) != expected threads ( 282 pthread_t threads[MAX_THREADS]; local 363 pthread_t threads[MAX_THREADS]; local 436 pthread_t threads[MAX_THREADS]; local 510 pthread_t threads[MAX_THREADS]; local 584 pthread_t threads[MAX_THREADS]; local 665 pthread_t threads[MAX_THREADS]; local [all...] |
/freebsd-10-stable/gnu/usr.bin/gdb/arch/sparc64/ |
H A D | Makefile | 4 LIBSRCS+= fbsd-threads.c
|
/freebsd-10-stable/tools/test/pthread_vfork/ |
H A D | pthread_vfork_test.c | 71 * This program invokes multiple threads and each thread calls 77 pthread_t threads[NUM_THREADS]; local 93 rc = pthread_create(&threads[t], NULL, vfork_test, &t);
|
/freebsd-10-stable/lib/libstdthreads/ |
H A D | Makefile | 6 INCS= threads.h 7 SRCS= threads.h call_once.c cnd.c mtx.c thrd.c tss.c
|
/freebsd-10-stable/contrib/netbsd-tests/crypto/libcrypto/ |
H A D | t_libcrypto.sh | 85 atf_test_case threads 106 atf_add_test_case threads
|
/freebsd-10-stable/gnu/usr.bin/gdb/arch/amd64/ |
H A D | Makefile | 5 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10-stable/gnu/usr.bin/gdb/arch/i386/ |
H A D | Makefile | 5 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10-stable/contrib/ntp/sntp/libevent/ |
H A D | event_iocp.c | 190 port->threads = mm_calloc(port->n_threads, sizeof(HANDLE)); 191 if (!port->threads) 208 port->threads[i] = (HANDLE)th; 218 if (port->threads) 219 mm_free(port->threads); 232 mm_free(port->threads);
|
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_add_filter_xz.c | 103 uint32_t threads; member in struct:private_data 155 data->threads = 1; 235 if (data->threads != 1) { 237 mt_options.threads = data->threads; 388 } else if (strcmp(key, "threads") == 0) { 394 data->threads = (int)strtoul(value, &endptr, 10); 396 data->threads = 1; 399 if (data->threads == 0) { 401 data->threads [all...] |
/freebsd-10-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_sem.c | 159 pthread_t threads[NTHREADS]; local 190 PTHREAD_REQUIRE(pthread_create(&threads[i], NULL, 201 PTHREAD_REQUIRE(pthread_join(threads[i], NULL));
|