/freebsd-10.1-release/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...] |
H A D | Makefile | 28 threads.c \
|
/freebsd-10.1-release/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.1-release/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.1-release/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.1-release/gnu/usr.bin/gdb/arch/arm/ |
H A D | Makefile | 7 LIBSRCS+= fbsd-threads.c
|
/freebsd-10.1-release/gnu/usr.bin/gdb/arch/ia64/ |
H A D | Makefile | 4 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10.1-release/gnu/usr.bin/gdb/arch/mips/ |
H A D | Makefile | 7 LIBSRCS+= mipsfbsd-nat.c fbsd-threads.c
|
/freebsd-10.1-release/gnu/usr.bin/gdb/arch/powerpc/ |
H A D | Makefile | 4 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10.1-release/gnu/usr.bin/gdb/arch/powerpc64/ |
H A D | Makefile | 4 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10.1-release/gnu/usr.bin/gdb/arch/sparc64/ |
H A D | Makefile | 4 LIBSRCS+= fbsd-threads.c
|
/freebsd-10.1-release/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.1-release/sys/compat/linux/ |
H A D | linux_emul.h | 42 LIST_HEAD(, linux_emuldata) threads; /* head of list of linux threads */ member in struct:linux_emuldata_shared 62 LIST_ENTRY(linux_emuldata) threads; /* list of linux threads */ member in struct:linux_emuldata
|
H A D | linux_emul.c | 167 LIST_INIT(&s->threads); 210 LIST_INSERT_HEAD(&em->shared->threads, em, threads); 267 LIST_REMOVE(em, threads); 354 /* Kill threads regardless of imgp->sysent value */ 371 LIST_REMOVE(em, threads); 460 LIST_FOREACH_SAFE(em, &td_em->shared->threads, threads, tmp_em) {
|
/freebsd-10.1-release/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.1-release/gnu/usr.bin/gdb/arch/amd64/ |
H A D | Makefile | 5 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10.1-release/gnu/usr.bin/gdb/arch/i386/ |
H A D | Makefile | 5 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
|
/freebsd-10.1-release/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);
|
H A D | iocp-internal.h | 80 /** Number of threads ever open on the port. */ 82 /** True iff we're shutting down all the threads on this port */ 84 /** How often the threads on this port check for shutdown and other 87 /* The threads that are waiting for events. */ 88 HANDLE *threads; member in struct:event_iocp_port 89 /** Number of threads currently open on this port. */ 154 /** Create an IOCP, and launch its worker threads. Internal use only. 161 fd will happen on one of the iocp's worker threads. 166 /** Tell all threads serving an iocp to stop. Wait for up to waitMsec for all 167 the threads t [all...] |
/freebsd-10.1-release/sys/nfs/ |
H A D | nfs_fha.h | 58 * avoid contention between threads over single files. 67 struct svcthread_list threads; member in struct:fha_hash_entry
|
/freebsd-10.1-release/usr.sbin/faithd/test/ |
H A D | faithd.rb | 148 threads = [] 192 threads = [] 211 threads[i] = Thread.start do 220 for i in threads
|
/freebsd-10.1-release/sys/mips/rmi/ |
H A D | fmn.c | 76 * Keep track of our message ring handler threads, each core has a 78 * message handling threads every core, and wake them up depending on 83 struct thread *thread; /* msgring handler threads */ 85 } threads[XLR_NTHREADS]; member in struct:msgring_thread 86 int running; /* number of threads running */ 87 int nthreads; /* number of threads started */ 91 static struct proc *msgring_proc; /* all threads are under a proc */ 94 * The maximum number of software message handler threads to be started 114 * Message Stations are shared among all threads in a cpu core, this 244 * the watermark until all the possible handler threads i [all...] |
/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | gnu-nat.c | 138 afterwards). This effects INF's threads' resume_sc count. */ 174 struct proc *threads; /* A linked list of all threads in TASK. */ 213 /* When starting a new inferior, we don't try to validate threads until all 223 (pausing individual threads as necessary). */ 230 threads -- see the definition of those fields in struct proc. */ 562 /* Note that these are all the values for threads; the task simply uses the 651 inf->threads = 0; 772 inf_validate_procs (inf); /* Trash all the threads. */ 879 is. If INF is running, the resume_sc count of INF's threads wil 173 struct proc *threads; /* A linked list of all threads in TASK. */ member in struct:inf 989 thread_array_t threads; local 1061 mach_port_deallocate (mach_task_self (), threads[i]); local [all...] |
/freebsd-10.1-release/tools/tools/crypto/ |
H A D | cryptotest.c | 48 * -t n fork n threads and run tests concurrently 73 * command line to get X "threads" running simultaneously. No effort is made 74 * to synchronize the threads or otherwise maximize load. 428 runtests(struct alg *alg, int count, int size, u_long cmd, int threads, int profile) argument 445 region = mmap(NULL, threads * sizeof (struct timeval), 464 if (threads > 1) { 465 for (i = 0; i < threads; i++) 476 for (i = 0; i < threads; i++) 482 t /= threads; 487 nops *= threads; [all...] |