| /freebsd/secure/lib/libcrypto/man/man7/ |
| H A D | openssl-quic-concurrency.7 | 1 .\" -*- mode: troff; coding: utf-8 -*- 57 .IX Title "OPENSSL-QUIC-CONCURRENCY 7ossl" 58 .TH OPENSSL-QUIC-CONCURRENCY 7ossl 2025-09-30 3.5.4 OpenSSL 64 openssl\-quic\-concurrency \- OpenSSL QUIC Concurrency Model 103 The \fBSingle-Threaded Concurrency Model (SCM)\fR, which supports only 104 application-synchronised single-threaded usage. 106 The \fBContentive Concurrency Model (CCM)\fR, which supports multi-threaded usage. 108 The \fBThread-Assisted Concurrency Model (TACM)\fR, which also supports 109 multi-threaded usage and provides assistance to an application for handling QUIC 114 The \fBSingle-Threaded Concurrency Model (SCM)\fR performs no locking or [all …]
|
| /freebsd/crypto/openssl/doc/man7/ |
| H A D | openssl-quic-concurrency.pod | 5 openssl-quic-concurrency - OpenSSL QUIC Concurrency Model 59 The B<Single-Threaded Concurrency Model (SCM)>, which supports only 60 application-synchronised single-threaded usage. 64 The B<Contentive Concurrency Model (CCM)>, which supports multi-threaded usage. 68 The B<Thread-Assisted Concurrency Model (TACM)>, which also supports 69 multi-threaded usage and provides assistance to an application for handling QUIC 80 The B<Single-Threaded Concurrency Model (SCM)> performs no locking or 91 synchronisation for multi-threaded usage of QUIC objects. For example, different 95 This concurrency model adds the overhead of locking over the Single-Threaded 96 Concurrency Model in order to support multi-threaded usage, but provides limited [all …]
|
| /freebsd/tools/tools/netrate/httpd/ |
| H A D | httpd.c | 1 /*- 2 * Copyright (c) 2005-2006 Robert N. M. Watson 50 static int threaded; /* 1 for threaded, 0 for forked. */ variable 53 * Simple, multi-threaded/multi-process HTTP server. Very dumb. 66 #define HTTP_CONTENT "Content-Type: text/html\n\n" 69 * In order to support both multi-threaded and multi-process operation but 70 * use a single shared memory statistics model, we create a page-aligned 71 * statistics buffer. For threaded operation, it's just shared memory due to 72 * threading; for multi-process operation, we mark it as INHERIT_SHARE, so we 73 * must put it in page-aligned memory that isn't shared with other memory, or [all …]
|
| /freebsd/contrib/xz/src/xz/ |
| H A D | xz.1 | 2 .\" SPDX-License-Identifier: 0BSD 7 .TH XZ 1 "2025-03-08" "Tukaani" "XZ Utils" 10 xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma files 42 .RB ( "xz \-d" 52 is a general-purpose data compression tool with 93 .B \-\-stdout 97 .B \- 188 .B \-\-keep 204 .B \-\-verbose 218 .B xz \-9 [all …]
|
| /freebsd/sys/contrib/zstd/lib/ |
| H A D | Makefile | 5 # This source code is licensed under both the BSD-style license (found in the 8 # You may select, at your option, one of the above-listed licenses. 54 # Note: by default, the static library is built single-threaded and dynamic library is built 55 # multi-threaded. It is possible to force multi or single threaded builds by appending 56 # -mt or -nomt to the build target (like lib-mt for multi-threaded, lib-nomt for single-threaded). 58 default: lib-release 60 CPPFLAGS_DYNLIB += -DZSTD_MULTITHREAD # dynamic library build defaults to multi-threaded 61 LDFLAGS_DYNLIB += -pthread 62 CPPFLAGS_STATLIB += # static library build defaults to single-threaded 66 decompress/zstd_decompress_block.o : CFLAGS+=-fno-tree-vectorize [all …]
|
| /freebsd/contrib/ofed/opensm/include/complib/ |
| H A D | cl_atomic.h | 2 * Copyright (c) 2004-2006 Voltaire, Inc. All rights reserved. 3 * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved. 4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 61 * 32-bit signed integers in an atomic fashion. 68 * The cl_atomic_inc function atomically increments a 32-bit signed 77 * [in] Pointer to a 32-bit integer to increment. 87 * synchronization mechanisms in multi-threaded environments. 98 * The cl_atomic_dec function atomically decrements a 32-bit signed [all …]
|
| /freebsd/share/man/man3/ |
| H A D | pthread_multi_np.3 | 31 .Nd "switch between multi- and single-threaded scheduling modes" 43 function switches the process to a single-threaded mode, i.e., 50 function switches the process to a multi-threaded mode.
|
| H A D | pthread_np.3 | 41 .Bl -bullet -offset indent -compact 54 .\" Per-Thread Context Routines 58 .Bl -tag -width indent 90 Sets the thread's scheduling mode to multi-threaded. 127 Sets the thread's scheduling mode to single-threaded. 149 .Bl -tag -width indent 178 .Bl -tag -width indent 195 .\" .Bl -tag -width indent 198 .\" .Bl -tag -width indent 200 .\" .Ss Per-Thread Context Routines [all …]
|
| /freebsd/contrib/ncurses/man/ |
| H A D | curs_threads.3x | 3 .\" Copyright 2021-2023,2024 Thomas E. Dickey * 4 .\" Copyright 2008-2015,2017 Free Software Foundation, Inc. * 32 .TH curs_threads 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" 55 \fB\%use_window\fP \- 56 \fIcurses\fR support for multi-threaded applications 73 The \fI\%ncurses\fP library can be configured to support multi-threaded 105 maintaining them as as read-only values in the \fISCREEN\fP structure. 108 thread-safe. 109 We would expect a multi-threaded application to have threads updating 124 coarse-grained mutexes for their respective \fI\%WINDOW\fP and [all …]
|
| /freebsd/lib/libc/gen/ |
| H A D | _once_stub.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 32 #include "un-namespace.h" 35 /* This implements pthread_once() for the single-threaded case. */ 40 if (once_control->state == PTHREAD_DONE_INIT) in _libc_once() 43 once_control->state = PTHREAD_DONE_INIT; in _libc_once() 49 * pthread_once() from the threading library in a multi-threaded 50 * process and _libc_once() for a single-threaded library. Because
|
| /freebsd/lib/libsys/ |
| H A D | thr_new.2 | 41 .Bf -symbolic 50 system call creates a new kernel-scheduled thread of execution in the context 53 existing kernel-scheduled threads in the process, but has private processor 67 .Bd -literal 82 .Bl -tag -width ".Va parent_tid" 99 The value of TLS base is loaded into the ABI-defined machine register 129 .Bl -tag -width ".Dv THR_SYSTEM_SCOPE" 138 It has architecture-specific meaning. 147 Real-time scheduling priority for the new thread. 161 the process is marked by the kernel as multi-threaded. [all …]
|
| /freebsd/tools/tools/netrate/http/ |
| H A D | http.c | 1 /*- 2 * Copyright (c) 2005-2006 Robert N. M. Watson 47 static int threaded; /* 1 for threaded, 0 for forked. */ variable 52 * Simple, multi-threaded HTTP benchmark. Fetches a single URL using the 83 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ 100 return (-1); in http_fetch() 103 /* XXX: Mark non-blocking. */ in http_fetch() 109 return (-1); in http_fetch() 123 return (-1); in http_fetch() 139 return (-1); in http_fetch() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | Communication.cpp | 1 //===-- Communication.cpp -------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 49 return connection_sp->Connect(url, error_ptr); in Connect() 51 error_ptr->SetErrorString("Invalid connection."); in Connect() 61 ConnectionStatus status = connection_sp->Disconnect(error_ptr); in Disconnect() 62 // We currently don't protect connection_sp with any mutex for multi- in Disconnect() 63 // threaded environments. So lets not nuke our connection class without in Disconnect() 64 // putting some multi-threaded protections in. We also probably don't want in Disconnect() 79 return (connection_sp ? connection_sp->IsConnected() : false); in IsConnected() [all …]
|
| /freebsd/usr.bin/sort/ |
| H A D | radixsort.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 50 #define TINY_NODE(sl) ((sl)->tosort_num < 65) 51 #define SMALL_NODE(sl) ((sl)->tosort_num < 5) 56 /* sort sub-levels array size */ 103 sort_left -= n; in sort_left_dec() 134 ls->next = g_ls; in _push_ls() 147 new_ls->sl = sl; in push_ls() 161 * Pop sort level from the stack (single-threaded style) 171 sl = g_ls->sl; in pop_ls_st() [all …]
|
| /freebsd/usr.sbin/inetd/ |
| H A D | inetd.8 | 34 .Dq super-server 70 .Bl -tag -width indent 92 a TCP-based service would need two entries, 106 May be overridden on a per-service basis with the 107 "max-connections-per-ip-per-minute" parameter. 112 May be overridden on a per-service basis with the "max-child" 128 May be overridden on a per-service basis with the "max-child-per-ip" 156 .Bd -unfilled -offset indent -compact 157 service-name 158 socket-type [all …]
|
| /freebsd/contrib/xz/src/liblzma/api/lzma/ |
| H A D | container.h | 1 /* SPDX-License-Identifier: 0BSD */ 56 * a little but only at the lowest preset levels (0-3). 72 * Decoder: Bitwise-or of zero or more of the decoder flags: 73 * - LZMA_TELL_NO_CHECK 74 * - LZMA_TELL_UNSUPPORTED_CHECK 75 * - LZMA_TELL_ANY_CHECK 76 * - LZMA_IGNORE_CHECK 77 * - LZMA_CONCATENATED 78 * - LZMA_FAIL_FAST 94 * With LZMA2, a recommended block size is 2-4 times the LZMA2 [all …]
|
| /freebsd/contrib/sendmail/libsm/ |
| H A D | get.c | 2 * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers. 16 SM_RCSID("@(#)$Id: get.c,v 1.19 2013-11-22 20:51:43 ca Exp $") 22 ** SM_IO_GETC -- get a character from a file 25 ** fp -- the file to get the character from 26 ** timeout -- time to complete getc 34 ** for multi-threaded programs.
|
| /freebsd/lib/libopenbsd/ |
| H A D | ohash_init.3 | 30 .Nd light-weight open hashing 61 Keys can either be NUL-terminated strings or fixed-size memory areas. 74 .Bd -literal -offset indent 94 .Xr free 3 Ns -like 124 are the basic look-up element functions. 142 handles string-like keys. 150 NUL-terminated keys. 193 .Bd -literal -offset indent 215 may call the user-supplied memory functions: 216 .Bd -literal -offset indent [all …]
|
| /freebsd/crypto/openssl/apps/include/ |
| H A D | log.h | 2 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved. 34 /*- 37 * Log the message to syslog if multi-threaded HTTP_DAEMON, else to bio_err 40 * category: trace category as defined in trace.h, or -1
|
| /freebsd/contrib/ntp/sntp/libevent/include/event2/ |
| H A D | thread.h | 2 * Copyright (c) 2008-2012 Niels Provos and Nick Mathewson 31 Functions for multi-threaded applications using Libevent. 33 When using a multi-threaded application in which multiple threads 37 Like the memory-management function hooks, all of the threading functions 55 #include <event2/event-config.h> 63 * read-write lock, and we want to acquire or release the lock for writing. */ 66 * read-write lock, and we want to acquire or release the lock for reading. */ 86 /* A read-write lock is one that allows multiple simultaneous readers, but 113 /** Acquire an already-allocated lock at 'lock' with mode 'mode'. 153 * thread is worken. Should return 0 on success, -1 on failure. [all …]
|
| /freebsd/contrib/libevent/include/event2/ |
| H A D | thread.h | 2 * Copyright (c) 2008-2012 Niels Provos and Nick Mathewson 31 Functions for multi-threaded applications using Libevent. 33 When using a multi-threaded application in which multiple threads 37 Like the memory-management function hooks, all of the threading functions 55 #include <event2/event-config.h> 63 * read-write lock, and we want to acquire or release the lock for writing. */ 66 * read-write lock, and we want to acquire or release the lock for reading. */ 86 /* A read-write lock is one that allows multiple simultaneous readers, but 113 /** Acquire an already-allocated lock at 'lock' with mode 'mode'. 153 * thread is worken. Should return 0 on success, -1 on failure. [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | ThreadedCommunication.h | 1 //===-- ThreadedCommunication.h ---------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 27 /// supports threaded reads. 30 /// for multi-threaded mode. In this mode, a read thread is spawned that 59 /// set of pre-defined event bits (see enumerations definitions that start with 244 std::recursive_mutex m_bytes_mutex; ///< A mutex to protect multi-threaded
|
| /freebsd/lib/libthr/thread/ |
| H A D | thr_multi_np.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 15 * 3. Neither the name of the author nor the names of any co-contributors 35 #include "un-namespace.h" 43 /* Return to multi-threaded scheduling mode: */ in _pthread_multi_np() 45 * XXX - Do we want to do this? in _pthread_multi_np()
|
| /freebsd/sys/contrib/device-tree/Bindings/dma/ |
| H A D | img-mdc-dma.txt | 1 * IMG Multi-threaded DMA Controller (MDC) 4 - compatible: Must be "img,pistachio-mdc-dma". 5 - reg: Must contain the base address and length of the MDC registers. 6 - interrupts: Must contain all the per-channel DMA interrupts. 7 - clocks: Must contain an entry for each entry in clock-names. 8 See ../clock/clock-bindings.txt for details. 9 - clock-names: Must include the following entries: 10 - sys: MDC system interface clock. 11 - img,cr-periph: Must contain a phandle to the peripheral control syscon 13 - img,max-burst-multiplier: Must be the maximum supported burst size multiplier. [all …]
|
| /freebsd/crypto/openssl/doc/internal/man3/ |
| H A D | ossl_rcu_lock_new.pod | 12 - perform read-copy-update locking 31 OpenSSL can be safely used in multi-threaded applications provided that 32 support for the underlying OS threading API is built-in. Currently, OpenSSL 34 any multi-threading support, for example on platforms that don't provide 39 Read-Copy-Update (RCU) locks, which allow for always nonblocking read paths. 41 The following multi-threading functions are provided: 196 newfoo->aval++; 238 a = myfoo->aval; 248 L<crypto(7)>, L<openssl-threads(7)>. 252 Copyright 2023-2024 The OpenSSL Project Authors. All Rights Reserved.
|