Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 540) sorted by relevance

12345678910>>...22

/minix3/external/bsd/llvm/dist/clang/test/SemaCXX/
H A Ddeclspec-thread.cpp3 __thread __declspec(thread) int a; // expected-error {{already has a thread-local storage specifier…
4 __declspec(thread) __thread int b; // expected-error {{already has a thread-local storage specifier…
5 __declspec(thread) int c(); // expected-warning {{only applies to variables}}
6 __declspec(thread) int d;
8 __declspec(thread) int e = foo(); // expected-error {{must be a constant expression}} expected-note…
11 __declspec(thread) HasCtor f; // expected-error {{must be a constant expression}} expected-note {{t…
14 __declspec(thread) HasDtor g; // expected-error {{non-trivial destruction}} expected-note {{thread_…
20 __declspec(thread) HasDefaultedDefaultCtor h;
26 __declspec(thread) HasConstexprCtor i(42);
29 __declspec(thread) int a; // expected-error {{must have global storage}} in foo()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/include/
H A Dthread2 //===--------------------------- thread -----------------------------------===//
16 thread synopsis
23 class thread
29 thread() noexcept;
30 template <class F, class ...Args> explicit thread(F&& f, Args&&... args);
31 ~thread();
33 thread(const thread&) = delete;
34 thread(thread&& t) noexcept;
36 thread& operator=(const thread&) = delete;
37 thread& operator=(thread&& t) noexcept;
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/
H A Dincorrect-dom-info.ll41 br i1 undef, label %thread-pre-split.preheader, label %.preheader
43 thread-pre-split.preheader: ; preds = %9
44 br i1 undef, label %thread-pre-split._crit_edge, label %.lr.ph21
46 .thread-pre-split.loopexit_crit_edge: ; preds = %19
49 br label %thread-pre-split.loopexit
51 thread-pre-split.loopexit: ; preds = %11, %.thread-pre-split.loopexit_crit_e…
52 %d.1.lcssa = phi i8* [ %scevgep45, %.thread-pre-split.loopexit_crit_edge ], [ %d.020, %11 ]
53 br i1 false, label %thread-pre-split._crit_edge, label %.lr.ph21
55 …1: ; preds = %26, %thread-pre-split.loopexit, %thread-pre-…
56 …%d.020 = phi i8* [ undef, %26 ], [ %d.1.lcssa, %thread-pre-split.loopexit ], [ undef, %thread-pre-…
[all …]
/minix3/minix/lib/libmthread/
H A Dallocate.c17 static void mthread_thread_init(mthread_thread_t thread, mthread_attr_t
20 static void mthread_thread_stop(mthread_thread_t thread);
54 mthread_thread_t thread; local
60 thread = mthread_queue_remove(&free_threads);
61 mthread_thread_init(thread, tattr, proc, arg);
64 *threadid = (mthread_thread_t) thread;
66 printf("Inited thread %d\n", thread);
143 mthread_tcb_t * mthread_find_tcb(thread) in mthread_find_tcb() argument
144 mthread_thread_t thread; in mthread_find_tcb()
148 if (!isokthreadid(thread)) mthread_panic("Invalid thread id");
[all …]
H A Dqueue.c8 void mthread_queue_add(queue, thread) in mthread_queue_add() argument
10 mthread_thread_t thread;
18 if (!isokthreadid(thread))
21 last = mthread_find_tcb(thread);
97 mthread_thread_t thread; local
141 if (tcb == NULL) thread = NO_THREAD;
142 else if (tcb == &mainthread) thread = MAIN_THREAD;
143 else thread = (tcb->m_tid);
146 if (!picked_random && thread != NO_THREAD) {
160 return(thread);
/minix3/external/bsd/bind/dist/lib/isc/win32/
H A Dthread.c32 isc_thread_t thread; in isc_thread_create() local
35 thread = (isc_thread_t)_beginthreadex(NULL, 0, start, arg, 0, &id); in isc_thread_create()
36 if (thread == NULL) { in isc_thread_create()
41 *threadp = thread; in isc_thread_create()
47 isc_thread_join(isc_thread_t thread, isc_threadresult_t *rp) { in isc_thread_join() argument
50 result = WaitForSingleObject(thread, INFINITE); in isc_thread_join()
55 if (rp != NULL && !GetExitCodeThread(thread, rp)) { in isc_thread_join()
59 (void)CloseHandle(thread); in isc_thread_join()
/minix3/tests/lib/libpthread/
H A Dt_join.c63 pthread_t thread; in ATF_TC_BODY() local
65 PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc1, NULL)); in ATF_TC_BODY()
66 PTHREAD_REQUIRE(pthread_join(thread, NULL)); in ATF_TC_BODY()
72 pthread_t thread[25]; in threadfunc1() local
102 for (i = 0; i < __arraycount(thread); i++) { in threadfunc1()
108 rv = pthread_create(&thread[i], &attr, threadfunc2, (void *)i); in threadfunc1()
115 PTHREAD_REQUIRE(pthread_join(thread[i], &val)); in threadfunc1()
126 rv = pthread_join(thread[i], NULL); in threadfunc1()
133 rv = pthread_detach(thread[i]); in threadfunc1()
/minix3/minix/include/ddekit/
H A Dthread.h50 void *ddekit_thread_get_data(ddekit_thread_t *thread);
70 void ddekit_thread_set_data(ddekit_thread_t *thread, void *data);
114 void ddekit_thread_wakeup(ddekit_thread_t *thread);
126 void ddekit_thread_terminate(ddekit_thread_t *thread);
132 const char *ddekit_thread_get_name(ddekit_thread_t *thread);
143 int ddekit_thread_get_id(ddekit_thread_t *thread);
/minix3/external/bsd/libc++/dist/libcxx/test/thread/thread.mutex/thread.once/thread.once.callonce/
H A Dcall_once.pass.cpp152 std::thread t0(f0); in main()
153 std::thread t1(f0); in main()
160 std::thread t0(f3); in main()
161 std::thread t1(f3); in main()
169 std::thread t0(f41); in main()
170 std::thread t1(f42); in main()
179 std::thread t0(f1); in main()
180 std::thread t1(f1); in main()
187 std::thread t0(f2); in main()
188 std::thread t1(f2); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.assign/
H A Dmove.pass.cpp64 std::thread t0(G(), 5, 5.5); in main()
65 std::thread::id id = t0.get_id(); in main()
66 std::thread t1; in main()
69 assert(t0.get_id() == std::thread::id()); in main()
75 std::thread t0(G(), 5, 5.5); in main()
76 std::thread::id id = t0.get_id(); in main()
77 std::thread t1; in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
H A Dcall_once.pass.cpp191 std::thread t0(f0); in main()
192 std::thread t1(f0); in main()
199 std::thread t0(f3); in main()
200 std::thread t1(f3); in main()
208 std::thread t0(f41); in main()
209 std::thread t1(f42); in main()
218 std::thread t0(f1); in main()
219 std::thread t1(f1); in main()
226 std::thread t0(f2); in main()
227 std::thread t1(f2); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.member/
H A Dget_id.pass.cpp46 std::thread t0((G())); in main()
47 std::thread::id id0 = t0.get_id(); in main()
48 std::thread t1; in main()
49 std::thread::id id1 = t1.get_id(); in main()
51 assert(t1.get_id() == std::thread::id()); in main()
H A Dswap.pass.cpp46 std::thread t0((G())); in main()
47 std::thread::id id0 = t0.get_id(); in main()
48 std::thread t1; in main()
49 std::thread::id id1 = t1.get_id(); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
H A DF.pass.cpp99 std::thread t(f); in main()
108 std::thread t(f); in main()
120 std::thread t((G())); in main()
132 std::thread t((G())); in main()
146 std::thread t(G(), 5, 5.5); in main()
152 std::thread t = std::thread(MoveOnly(), MoveOnly()); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
H A DF.pass.cpp93 std::thread t(f); in main()
102 std::thread t(f); in main()
114 std::thread t((G())); in main()
126 std::thread t((G())); in main()
140 std::thread t(G(), 5, 5.5); in main()
146 std::thread t = std::thread(MoveOnly(), MoveOnly()); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/
H A Dget_id.pass.cpp49 std::thread t0(g); in main()
50 std::thread::id id0 = t0.get_id(); in main()
51 std::thread t1; in main()
52 std::thread::id id1 = t1.get_id(); in main()
54 assert(t1.get_id() == std::thread::id()); in main()
H A Dswap.pass.cpp49 std::thread t0(g); in main()
50 std::thread::id id0 = t0.get_id(); in main()
51 std::thread t1; in main()
52 std::thread::id id1 = t1.get_id(); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
H A Dthread_id.pass.cpp28 std::thread::id id1; in main()
29 std::thread::id id2 = std::this_thread::get_id(); in main()
30 typedef std::hash<std::thread::id> H; in main()
31 static_assert((std::is_same<typename H::argument_type, std::thread::id>::value), "" ); in main()
/minix3/minix/lib/libddekit/src/
H A Dthread.c159 void *ddekit_thread_get_data(ddekit_thread_t *thread) in ddekit_thread_get_data() argument
161 return thread->data; in ddekit_thread_get_data()
205 void ddekit_thread_set_data(ddekit_thread_t *thread, void *data) in ddekit_thread_set_data() argument
207 thread->data=data; in ddekit_thread_set_data()
319 ddekit_thread_terminate(ddekit_thread_t * thread) in ddekit_thread_terminate() argument
321 if (thread == ddekit_thread_myself()) { in ddekit_thread_terminate()
328 _ddekit_thread_dequeue(thread); in ddekit_thread_terminate()
330 ddekit_sem_deinit(thread->sleep_sem); in ddekit_thread_terminate()
332 ddekit_simple_free(thread->stack); in ddekit_thread_terminate()
334 ddekit_simple_free(thread); in ddekit_thread_terminate()
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/
H A Dada-loops.ll20 bb.thread:
25 bb: ; preds = %bb, %bb.thread
26 %i.0.reg2mem.0 = phi i8 [ -128, %bb.thread ], [ %tmp8, %bb ] ; <i8> [#uses=1]
40 bb.thread:
45 bb: ; preds = %bb, %bb.thread
46 %i.0.reg2mem.0 = phi i8 [ 0, %bb.thread ], [ %tmp7, %bb ] ; <i8> [#uses=1]
59 bb.thread:
62 bb: ; preds = %bb, %bb.thread
63 %i.0.reg2mem.0 = phi i8 [ -10, %bb.thread ], [ %tmp7, %bb ] ; <i8> [#uses=2]
77 bb.thread:
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/ARM/
H A D2008-09-17-CoalescerBug.ll5 br i1 false, label %bb24, label %bb33.thread
10 bb33.thread: ; preds = %entry
14 bb39: ; preds = %bb33.thread, %bb24
15 %.reg2mem.0 = phi i8* [ %0, %bb33.thread ], [ null, %bb24 ] ; <i8*> [#uses=0]
/minix3/external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/
H A Dsext-iv-1.ll18 bb1.thread:
21 bb1: ; preds = %bb1, %bb1.thread
22 %i.0.reg2mem.0 = phi i64 [ -128, %bb1.thread ], [ %8, %bb1 ] ; <i64> [#uses=3]
41 bb1.thread:
44 bb1: ; preds = %bb1, %bb1.thread
45 %i.0.reg2mem.0 = phi i64 [ -128, %bb1.thread ], [ %8, %bb1 ] ; <i64> [#uses=3]
64 bb1.thread:
67 bb1: ; preds = %bb1, %bb1.thread
68 %i.0.reg2mem.0 = phi i64 [ -129, %bb1.thread ], [ %8, %bb1 ] ; <i64> [#uses=3]
87 bb1.thread:
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.algorithm/
H A Dswap.pass.cpp46 std::thread t0((G())); in main()
47 std::thread::id id0 = t0.get_id(); in main()
48 std::thread t1; in main()
49 std::thread::id id1 = t1.get_id(); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.algorithm/
H A Dswap.pass.cpp49 std::thread t0(g); in main()
50 std::thread::id id0 = t0.get_id(); in main()
51 std::thread t1; in main()
52 std::thread::id id1 = t1.get_id(); in main()
/minix3/external/bsd/top/dist/machine/
H A Dm_linuxthr.man12 This version of the Linux port includes automatic thread "eliding".
13 In Linux, a thread is treated as another process sharing the memory
18 This version of top detects child thread processes and does not
20 an extra column "THR" shows the number of thread processes for a
22 parent. This gives a display much closer to other thread-capable Unix
25 A process is considered a thread of its parent if the
28 start. This heuristic can mistake a recently forked child as a thread,

12345678910>>...22