Searched refs:threads (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-9.3-release/usr.bin/csup/
H A Dthreads.h31 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 Dthreads.c36 #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 DMakefile28 threads.c \
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Dj_stat.d60 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-9.3-release/cddl/contrib/dtracetoolkit/Java/
H A Dj_stat.d60 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-9.3-release/lib/libkse/test/
H A Dsem_d.c62 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-9.3-release/gnu/usr.bin/gdb/arch/arm/
H A DMakefile7 LIBSRCS+= fbsd-threads.c
/freebsd-9.3-release/gnu/usr.bin/gdb/arch/ia64/
H A DMakefile4 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
/freebsd-9.3-release/gnu/usr.bin/gdb/arch/mips/
H A DMakefile4 LIBSRCS+= mipsfbsd-nat.c fbsd-threads.c
/freebsd-9.3-release/gnu/usr.bin/gdb/arch/powerpc/
H A DMakefile4 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
/freebsd-9.3-release/gnu/usr.bin/gdb/arch/powerpc64/
H A DMakefile4 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
/freebsd-9.3-release/contrib/bind9/
H A Dconfig.threads.in44 # startup when built with threads.
48 # FreeBSD 5, 6 and 7 we have never officially supported threads
71 AC_ARG_ENABLE(threads,
72 [ --enable-threads enable multithreading])
84 AC_MSG_ERROR([--enable-threads takes yes or no])
103 # the ability to choose threads library at final
/freebsd-9.3-release/gnu/usr.bin/gdb/arch/sparc64/
H A DMakefile4 LIBSRCS+= fbsd-threads.c
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_emul.h42 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 Dlinux_emul.c166 LIST_INIT(&s->threads);
209 LIST_INSERT_HEAD(&em->shared->threads, em, threads);
266 LIST_REMOVE(em, threads);
353 /* Kill threads regardless of imgp->sysent value */
370 LIST_REMOVE(em, threads);
459 LIST_FOREACH_SAFE(em, &td_em->shared->threads, threads, tmp_em) {
/freebsd-9.3-release/tools/test/pthread_vfork/
H A Dpthread_vfork_test.c71 * 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-9.3-release/gnu/usr.bin/gdb/arch/amd64/
H A DMakefile5 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
/freebsd-9.3-release/gnu/usr.bin/gdb/arch/i386/
H A DMakefile5 LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devent_iocp.c190 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 Diocp-internal.h80 /** 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-9.3-release/sys/nfs/
H A Dnfs_fha.h58 * avoid contention between threads over single files.
67 struct svcthread_list threads; member in struct:fha_hash_entry
/freebsd-9.3-release/usr.sbin/faithd/test/
H A Dfaithd.rb148 threads = []
192 threads = []
211 threads[i] = Thread.start do
220 for i in threads
/freebsd-9.3-release/sys/mips/rmi/
H A Dfmn.c76 * 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-9.3-release/contrib/gdb/gdb/
H A Dgnu-nat.c138 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-9.3-release/tools/tools/crypto/
H A Dcryptotest.c48 * -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...]

Completed in 167 milliseconds

12