| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 9 // This header is a wrapper for <thread> that works around problems with the 10 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 11 // which is either a typedef of std::thread or a replacement that calls the 23 #include <thread> 26 typedef std::thread thread; typedef in namespace:llvm 35 struct thread { 36 thread() {} [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/thread/ |
| package.d | 2 * The thread module provides support for thread creation and management. 9 * Source: $(DRUNTIMESRC core/thread/package.d) 12 module core.thread; 15 public import core.thread.fiber; 16 public import core.thread.osthread; 17 public import core.thread.threadbase; 18 public import core.thread.threadgroup; 19 public import core.thread.types; 20 public import core.thread.context [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.imports/ |
| bug18193.d | 4 import core.thread;
|
| /src/lib/librumpuser/ |
| rumpfiber.h | 36 struct thread { struct 41 TAILQ_ENTRY(thread) thread_list; 57 void wake(struct thread *thread); 58 void block(struct thread *thread); 59 struct thread *init_mainthread(void *); 63 struct thread* create_thread(const char *name, void *cookie, 66 int is_runnable(struct thread *); 67 void set_runnable(struct thread *); [all...] |
| rumpfiber.c | 95 static void join_thread(struct thread *); 96 static void switch_threads(struct thread *prev, struct thread *next); 97 static struct thread *get_current(void); 102 TAILQ_HEAD(thread_list, thread); 106 static struct thread *current_thread = NULL; 120 static struct thread * 141 struct thread *prev, *next, *thread, *tmp; local 151 TAILQ_FOREACH_SAFE(thread, &thread_list, thread_list, tmp) 211 struct thread *thread = calloc(1, sizeof(struct thread)); local 268 struct thread *thread = get_current(); local 303 struct thread *thread = get_current(); local 327 struct thread *thread = get_current(); local 336 struct thread *thread = get_current(); local 346 struct thread *thread = get_current(); local 398 struct thread *thread = calloc(1, sizeof(struct thread)); local 1018 struct thread *thread; local [all...] |
| /src/external/cddl/dtracetoolkit/dist/Bin/ |
| j_thread.d | 3 * j_thread.d - snoop Java thread execution using DTrace. 16 * TID Thread ID 17 * THREAD Thread name 20 * => thread start 21 * <= thread end 47 printf("%-20s %6s/%-5s -- %s\n", "TIME", "PID", "TID", "THREAD"); 50 hotspot*:::thread-start 52 this->thread = (char *)copyin(arg0, arg1 + 1); 53 this->thread[arg1] = '\0' [all...] |
| /src/external/cddl/dtracetoolkit/dist/Java/ |
| j_thread.d | 3 * j_thread.d - snoop Java thread execution using DTrace. 16 * TID Thread ID 17 * THREAD Thread name 20 * => thread start 21 * <= thread end 47 printf("%-20s %6s/%-5s -- %s\n", "TIME", "PID", "TID", "THREAD"); 50 hotspot*:::thread-start 52 this->thread = (char *)copyin(arg0, arg1 + 1); 53 this->thread[arg1] = '\0' [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.thread/ |
| external_threads.d | 3 import core.thread; 11 // try collecting - GC must ignore this call because this thread 20 // This thread gets registered in druntime, does some work and gets 38 pthread_t thread; 39 auto status = pthread_create(&thread, null, &entry_point1, null); 41 pthread_join(thread, null); 45 pthread_t thread; 46 auto status = pthread_create(&thread, null, &entry_point2, null); 48 pthread_join(thread, null);
|
| test_import.d | 4 import core.thread;
|
| /src/lib/libpthread/ |
| pthread_misc.c | 64 pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) 67 pthread__error(EINVAL, "Invalid thread", 68 thread->pt_magic == PT_MAGIC); 70 if (pthread__find(thread) != 0) 73 if (_sched_getparam(getpid(), thread->pt_lid, policy, param) < 0) 80 pthread_setschedparam(pthread_t thread, int policy, 85 pthread__error(EINVAL, "Invalid thread", 86 thread->pt_magic == PT_MAGIC); 88 if (pthread__find(thread) != 0) 92 if (_sched_setparam(getpid(), thread->pt_lid, policy, &sp) < 0 [all...] |
| pthread_getcpuclockid.c | 47 pthread_getcpuclockid(pthread_t thread, clockid_t *clock_id) 51 pthread__error(EINVAL, "Invalid thread", 52 thread->pt_magic == PT_MAGIC); 55 if (clock_getcpuclockid2(P_LWPID, (id_t)thread->pt_lid, clock_id) == -1)
|
| /src/lib/libpthread/compat/ |
| compat_pthread_setname_np.c | 43 __compat_pthread_setname_np(pthread_t thread, const char *name, void *arg) 45 return __pthread_setname_np120(thread, name, arg);
|
| /src/regress/sys/kern/softint1/ |
| softint1.c | 40 void *thread(void *); 45 thread(void *arg) function 62 pthread_create(&thr, NULL, thread, NULL);
|
| /src/external/bsd/ntp/dist/libntp/lib/isc/nothreads/ |
| thread.c | 1 /* $NetBSD: thread.c,v 1.2 2024/08/18 20:47:15 christos Exp $ */ 20 /* Id: thread.c,v 1.5 2007/06/19 23:47:18 tbox Exp */ 24 #include <isc/thread.h>
|
| /src/external/bsd/ntp/dist/libntp/lib/isc/win32/ |
| thread.c | 1 /* $NetBSD: thread.c,v 1.2 2024/08/18 20:47:16 christos Exp $ */ 20 /* Id: thread.c,v 1.24 2007/06/19 23:47:19 tbox Exp */ 26 #include <isc/thread.h> 32 isc_thread_t thread; local 35 thread = (isc_thread_t)_beginthreadex(NULL, 0, start, arg, 0, &id); 36 if (thread == NULL) { 41 *threadp = thread; 47 isc_thread_join(isc_thread_t thread, isc_threadresult_t *rp) { 51 result = WaitForSingleObject(thread, INFINITE); 57 if(!GetExitCodeThread(thread, &threadrc)) [all...] |
| /src/external/bsd/openldap/dist/tests/scripts/ |
| gdb.py | 31 def format_program(inferior=None, thread=None): 34 if thread: 35 inferior = thread.inferior 44 if thread: 45 pid = ".".join(tid for tid in thread.ptid if tid) 59 thread = event.inferior_thread 61 identifier = format_program(thread=thread) 72 backtrace = gdb.execute("thread apply all backtrace full",
|
| /src/external/gpl2/lvm2/dist/daemons/dmeventd/ |
| dmeventd.c | 64 #define LINK_THREAD(thread) LINK(thread, &_thread_registry) 73 Global mutex for thread list access. Has to be held when: 74 - iterating thread list 75 - adding or removing elements from thread list 83 There are three states a thread can attain (see struct 86 - DM_THREAD_RUNNING: thread has started up and is either working or 88 - DM_THREAD_SHUTDOWN: thread is still doing something, but it is 91 SHUTDOWN... the thread is still on the thread lis 174 pthread_t thread; member in struct:thread_status 461 struct thread_status *thread; local 494 struct thread_status *thread; local 682 struct thread_status *thread = arg, *thread_iter; local 734 struct thread_status *thread = arg; local 928 struct thread_status *thread, *thread_new = NULL; local 1015 struct thread_status *thread; local 1109 struct thread_status *thread, *hit = NULL; local 1168 struct thread_status *thread; local 1180 struct thread_status *thread; local 1445 struct thread_status *thread; local [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| asan_rtems.cc | 83 // will never be called. Instead, our own thread destruction hook 92 // Thread registration. We provide an API similar to the Fushia port. 99 // Shared setup between thread creation and startup for the initial thread. 105 AsanThread *thread = (AsanThread *)MmapOrDie(sizeof(AsanThread), __func__); local 106 AsanThreadContext::CreateThreadContextArgs args = {thread, stack}; 110 // thread itself. But on RTEMS we already know the stack address 114 thread->Init(&options); 115 return thread; 119 // We're in the creator thread before the new thread is actually started, bu 159 AsanThread *thread = static_cast<AsanThread *>(hook); local 201 AsanThread *thread = static_cast<AsanThread *>(hook); local [all...] |
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
| std_thread.h | 1 // std::thread declarations -*- C++ -*- 27 * Do not attempt to use it directly. @headername{thread} 60 /** A std::thread represents a new thread of execution. 62 * The default constructor creates an object that does not own a thread. 63 * The `thread(F&&, Args&&...)` constructor invokes a callable in a new 64 * thread, and owns that new thread. A `std::thread` that owns a thread 78 class thread class 147 thread(_Callable&& __f, _Args&&... __args) function in class:thread [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| asan_stack.cpp | 34 explicit ScopedUnwinding(AsanThread *t) : thread(t) { 35 if (thread) { 36 can_unwind = !thread->isUnwinding(); 37 thread->setUnwinding(true); 41 if (thread) 42 thread->setUnwinding(false); 48 AsanThread *thread = nullptr; member in class:__asan::__anon11989::ScopedUnwinding
|
| /src/external/bsd/zstd/dist/contrib/pzstd/utils/ |
| ThreadPool.h | 15 #include <thread> 19 /// A simple thread pool that pulls tasks off its queue in FIFO order. 21 std::vector<std::thread> threads_; 26 /// Constructs a thread pool with `numThreads` threads. 42 for (auto& thread : threads_) { 43 thread.join();
|
| /src/external/gpl2/mkhybrid/dist/libhfs_iso/ |
| volume.h | 25 # define v_getdthread(vol, id, thread, np) \ 26 v_getthread(vol, id, thread, np, cdrThdRec) 27 # define v_getfthread(vol, id, thread, np) \ 28 v_getthread(vol, id, thread, np, cdrFThdRec)
|
| /src/external/bsd/zstd/dist/tests/cli-tests/compression/ |
| window-resize.sh | 3 zstd --long=30 -1 --single-thread --no-content-size -f file
|
| /src/sys/fs/nfs/common/ |
| nfs_fha.c | 108 "single nfsd thread should be working on at any time"); 255 fha_hash_entry_add_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) 259 thread->st_p2 = 0; 260 LIST_INSERT_HEAD(&fhe->threads, thread, st_alink); 265 fha_hash_entry_remove_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) 269 KASSERT(thread->st_p2 == 0, 270 ("%d reqs on removed thread %p", thread->st_p2, thread)); 271 LIST_REMOVE(thread, st_alink) 297 SVCTHREAD *thread, *min_thread = NULL; local 384 SVCTHREAD *thread; local 477 SVCTHREAD *thread; local [all...] |
| /src/sys/arch/ia64/include/ |
| md_var.h | 68 struct thread; 80 int copyout_regstack(struct thread *, uint64_t *, uint64_t *); 85 void ia64_flush_dirty(struct thread *, struct _special *); 87 int ia64_highfp_drop(struct thread *); 88 int ia64_highfp_save(struct thread *); 100 int unaligned_fixup(struct trapframe *, struct thread *);
|