Searched defs:threads (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/test/libc-tests/tests/
H A Dc11_tss.c20 #include <threads.h>
65 thrd_t threads[TSS_NTHREADS]; local
72 VERIFY3S(thrd_create(&threads[i], ct_tss_thr,
77 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
H A Dcall_once.c20 #include <threads.h>
56 thrd_t threads[CO_NTHREADS]; local
63 VERIFY3S(thrd_create(&threads[i], co_thr, NULL), ==,
73 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
H A Dc11_threads.c17 * Validate various C11 threads routines. Specifically we want to cover:
19 * o threads
24 #include <threads.h>
124 thrd_t threads[STRESS_NTHREADS]; local
128 VERIFY3S(thrd_create(&threads[i], cthr_test_stress_thr,
133 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
238 thrd_t threads[BROADCAST_NTHREADS]; local
243 VERIFY3S(thrd_create(&threads[i], cthr_test_broadcast_thr,
253 VERIFY3S(thrd_join(threads[i], NULL), ==, thrd_success);
278 thrd_t threads[SIGNAL_NTHREAD local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsdbc_ioctl.h240 int threads; member in struct:_sd_cache_param
265 int threads; member in struct:_sdbc_config
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.c343 * wait for flusher threads to stop (taking into account this may be one)
644 cmn_err(CE_NOTE, "!stopping flusher threads");
1132 if (IS_QSTATE(q, RDC_QFULL)) { /* wakeup blocked threads */
1512 /* wakeup any blocked enqueue threads */
3168 int threads, counter; local
3203 * Wait if not QEMPTY or threads still active
3212 threads = group->rdc_thrnum;
3228 if (blocks == QBLOCKS(diskq) && threads == group->rdc_thrnum) {
H A Drdc_clnt.c1475 * don't allow any new writer threads to start if a member of the set
1561 * number of async threads for our group. If we run out of threads
1803 * all threads must be dead.
2375 /* perhaps we have a few threads stuck .. */
2440 int threads, counter; local
2454 * No need to wait if EMPTY and threads are gone
2463 threads = group->rdc_thrnum;
2479 if (blocks == QBLOCKS(diskq) && threads == group->rdc_thrnum) {
2669 * See if we have stalled threads
[all...]
H A Drdc_io.h309 int threads; member in struct:rdc_thrsync
434 int rdc_thrnum; /* number of threads */
435 int rdc_addthrnum; /* number threads added to thr set */
451 int asyncstall; /* count of asleep threads */
795 #define RDC_ASYNCTHR 2 /* number of async threads */
881 extern int rdc_asyncthr; /* # of async threads */
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/
H A Dpsvcplugin.c716 /* shut down the threads running the policies */
749 int32_t threads = 0; local
821 ++threads;
/illumos-gate/usr/src/uts/common/avs/ns/sv/
H A Dsv.c160 static int sv_threads_dev = 2; /* # of threads to alloc per device */
162 static int sv_threads_needed; /* number of threads needed */
164 static int sv_max_nlive; /* max number of threads running */
1613 sv_thread_tune(int threads) argument
1615 int incr = (threads > 0) ? 1 : -1;
1622 /* keep track of any additional threads requested */
1623 if (threads > 0) {
1624 sv_threads_extra += threads;
1627 threads = -threads;
[all...]

Completed in 96 milliseconds