/macosx-10.10/ppp-786.1.1/Drivers/L2TP/L2TP-extension/ |
H A D | l2tp_udp.h | 31 int l2tp_udp_attach(socket_t *so, struct sockaddr *addr, int *thread, int nocksum, int delegated_process); 32 int l2tp_udp_detach(socket_t so, int thread); 34 int l2tp_udp_output(socket_t so, int thread, mbuf_t m, struct sockaddr* to);
|
/macosx-10.10/bind9-45.101/bind9/lib/isc/nothreads/ |
H A D | thread.c | 18 /* $Id: thread.c,v 1.5 2007/06/19 23:47:18 tbox Exp $ */ 22 #include <isc/thread.h>
|
/macosx-10.10/ntp-92/lib/isc/nothreads/ |
H A D | thread.c | 18 /* $Id: thread.c,v 1.5 2007/06/19 23:47:18 tbox Exp $ */ 22 #include <isc/thread.h>
|
/macosx-10.10/ruby-106/ruby/sample/drb/ |
H A D | gw_s.rb | 9 s1.thread.join 10 s2.thread.join
|
H A D | rinda_ts.rb | 7 DRb.thread.join
|
/macosx-10.10/xnu-2782.1.97/osfmk/kern/ |
H A D | kpc_thread.c | 31 #include <kern/thread.h> 107 /* and schedule an AST for this thread... */ 120 /* snapshot current PMCs and update counters in the current thread */ 122 kpc_update_thread_counters( thread_t thread ) 139 /* 2. apply delta to old thread */ 140 if( thread->kpc_buf ) 142 thread->kpc_buf[i] += cpu->cpu_kpc_buf[1][i] - cpu->cpu_kpc_buf[0][i]; 164 /* get counter values for a thread */ 168 thread_t thread = current_thread(); local 176 if( !thread 196 kpc_thread_create(thread_t thread) argument 207 kpc_thread_destroy(thread_t thread) argument [all...] |
H A D | sched_prim.h | 74 #include <kern/thread.h> 86 /* Force a preemption point for a thread and wait for it to stop running */ 88 thread_t thread, 93 thread_t thread); 95 /* Wait for a thread to stop running */ 97 thread_t thread, 100 /* Unblock thread on wake up */ 102 thread_t thread, 105 /* Unblock and dispatch thread */ 107 thread_t thread, [all...] |
H A D | thread.h | 59 * File: thread.h 125 #include <machine/thread.h> 127 struct thread { struct 129 * NOTE: The runq field in the thread structure has an unusual 133 * set to PROCESSOR_NULL without holding the thread lock, but the 135 * under the thread lock and the run queue lock. 137 * When the thread is on a wait queue, these first three fields 149 decl_simple_lock_data(,wake_lock) /* for thread stop / wait (wake_lock()) */ 150 integer_t options; /* options set by thread itself */ 156 #define TH_OPT_PRVT_CPULIMIT 0x0040 /* Thread has a thread 707 thread_set_tag_internal(thread_t thread, uint16_t tag) argument 711 thread_get_tag_internal(thread_t thread) argument [all...] |
H A D | syscall_subr.h | 71 thread_t thread); 74 void *thread,
|
H A D | sched_grrr.c | 54 #include <kern/thread.h> 73 thread_t thread); 82 thread_t thread); 131 sched_grrr_compute_priority(thread_t thread, 137 thread_t thread); 142 thread_t thread, 152 thread_t thread); 169 sched_grrr_initial_quantum_size(thread_t thread); 175 sched_grrr_can_update_priority(thread_t thread); 178 sched_grrr_update_priority(thread_t thread); 332 sched_grrr_compute_priority(thread_t thread, boolean_t override_depress __unused) argument 339 sched_grrr_choose_processor( processor_set_t pset, processor_t processor, thread_t thread) argument 347 sched_grrr_processor_enqueue( processor_t processor, thread_t thread, integer_t options __unused) argument 367 thread_t thread; local 397 sched_grrr_processor_queue_remove( processor_t processor, thread_t thread) argument 597 thread_t thread; local 623 thread_t thread; local 719 grrr_enqueue( grrr_run_queue_t rq, thread_t thread) argument 768 thread_t thread; local 809 grrr_remove( grrr_run_queue_t rq, thread_t thread) argument 916 sched_grrr_fairshare_enqueue(thread_t thread) argument 929 thread_t thread; local 944 sched_grrr_fairshare_queue_remove(thread_t thread) argument [all...] |
H A D | ipc_tt.h | 96 /* Initialize a thread's IPC state */ 98 thread_t thread); 101 thread_t thread); 104 thread_t thread); 106 /* Disable IPC access to a thread */ 108 thread_t thread); 110 /* Clean up and destroy a thread's IPC state */ 112 thread_t thread); 114 /* Clear out a thread's IPC state */ 116 thread_t thread); [all...] |
H A D | affinity.c | 46 * and its thread membership. This includes its destruction when the task 48 * - The thread mutex protects a thread's affinity set membership, but in 49 * addition, the thread_lock is taken to write thread->affinity_set since this 52 * The lock ordering is: task lock, thread mutex, namespace mutex, thread lock. 74 static void affinity_set_add(affinity_set_t aset, thread_t thread); 75 static affinity_set_t affinity_set_remove(affinity_set_t aset, thread_t thread); 99 * Return the affinity tag for a thread. 100 * Called with the thread mute 103 thread_affinity_get(thread_t thread) argument 122 thread_affinity_set(thread_t thread, uint32_t tag) argument 338 thread_affinity_terminate(thread_t thread) argument 359 thread_affinity_exec(thread_t thread) argument 441 affinity_set_add(affinity_set_t aset, thread_t thread) argument 461 affinity_set_remove(affinity_set_t aset, thread_t thread) argument [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/kperf/ |
H A D | kperf.h | 37 /* Helpers to get and set AST bits on a thread */ 38 extern uint32_t kperf_get_thread_bits( thread_t thread ); 39 extern void kperf_set_thread_bits( thread_t thread, uint32_t bits ); 40 extern void kperf_set_thread_ast( thread_t thread ); 59 extern void kperf_thread_ast_handler( thread_t thread );
|
/macosx-10.10/bind9-45.101/bind9/lib/isc/win32/ |
H A D | thread.c | 18 /* $Id: thread.c,v 1.24 2007/06/19 23:47:19 tbox Exp $ */ 24 #include <isc/thread.h> 30 isc_thread_t thread; local 33 thread = (isc_thread_t)_beginthreadex(NULL, 0, start, arg, 0, &id); 34 if (thread == NULL) { 39 *threadp = thread; 45 isc_thread_join(isc_thread_t thread, isc_threadresult_t *rp) { argument 48 result = WaitForSingleObject(thread, INFINITE); 53 if (rp != NULL && !GetExitCodeThread(thread, rp)) { 57 (void)CloseHandle(thread); [all...] |
/macosx-10.10/ntp-92/lib/isc/win32/ |
H A D | thread.c | 18 /* $Id: thread.c,v 1.24 2007/06/19 23:47:19 tbox Exp $ */ 24 #include <isc/thread.h> 30 isc_thread_t thread; local 33 thread = (isc_thread_t)_beginthreadex(NULL, 0, start, arg, 0, &id); 34 if (thread == NULL) { 39 *threadp = thread; 45 isc_thread_join(isc_thread_t thread, isc_threadresult_t *rp) { argument 49 result = WaitForSingleObject(thread, INFINITE); 55 if(!GetExitCodeThread(thread, &threadrc)) { 61 (void)CloseHandle(thread); [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/chud/ |
H A D | chud_thread.c | 35 #include <kern/thread.h> 66 #pragma mark **** thread binding **** 70 * This method will bind a given thread to the requested CPU starting at the 71 * next time quantum. If the thread is the current thread, this method will 73 * current thread, you will be on the requested CPU when this method returns. 76 chudxnu_bind_thread(thread_t thread, int cpu, __unused int options) argument 84 if(thread != current_thread()) 99 * If we're trying to bind the current thread, and 101 * context, block the current thread t 114 chudxnu_unbind_thread(thread_t thread, __unused int options) argument 122 chudxnu_thread_get_idle(thread_t thread) argument 134 chudxnu_thread_get_scheduler_state(thread_t thread) argument 259 thread_t thread, *thread_list = (thread_t *)addr; local 339 thread_t thread; local 517 chudxnu_task_for_thread(thread_t thread) argument 523 chudxnu_thread_info( thread_t thread, thread_flavor_t flavor, thread_info_t thread_info_out, mach_msg_type_number_t *thread_info_count) argument 536 chudxnu_thread_get_marked(thread_t thread) argument 544 chudxnu_thread_set_marked(thread_t thread, boolean_t new_value) argument 570 chudxnu_thread_ast(thread_t thread) argument 615 chudxnu_set_thread_bits( thread_t thread, uint32_t bits ) argument 625 chudxnu_thread_get_dirty(thread_t thread) argument 634 chudxnu_thread_set_dirty(thread_t thread, boolean_t makedirty) argument [all...] |
/macosx-10.10/libauto-186/ |
H A D | ZoneDump.cpp | 90 // XXX_PCB: grab the thread list mutex, so newly registered threads can't interfere. 95 Thread *thread = threads(); local 96 while (thread != NULL) { 97 if (!thread->is_current_thread() && thread->is_bound()) { 98 thread->suspend(); 100 thread = thread->next(); 108 thread = threads(); 109 while (thread ! [all...] |
H A D | Subzone.cpp | 45 Subzone::PendingCountAccumulator::PendingCountAccumulator(Thread &thread) : _thread(thread), _last_pended_subzone(NULL), _pended_count(0) { argument
|
/macosx-10.10/libpthread-105.1.4/src/ |
H A D | pthread_cancelable.c | 67 extern void _pthread_testcancel(pthread_t thread, int isconforming); 86 * Cancel a thread 89 pthread_cancel(pthread_t thread) argument 96 if (_pthread_lookup_thread(thread, NULL, 0) != 0) 99 /* if the thread is a workqueue thread, then return error */ 100 if (thread->wqthread != 0) { 106 LOCK(thread->lock); 107 state = thread->cancel_state |= _PTHREAD_CANCEL_PENDING; 108 UNLOCK(thread 198 pthread_t thread = (pthread_t)arg; local 212 pthread_join(pthread_t thread, void **value_ptr) argument [all...] |
/macosx-10.10/Security-57031.1.35/Security/include/security_asn1/ |
H A D | prthread.h | 45 ** In general, a thread of a higher priority has a statistically better 47 ** NSPR uses multiple strategies to provide execution vehicles for thread 52 ** a single GLOBAL thread. 55 ** thread associated with a given GLOBAL thread. It is further assumed 59 ** Threads have a "system flag" which when set indicates the thread 61 ** process exits when the last user thread exits). 65 ** indicates whether a thread is permanently bound to a native OS thread. 66 ** An unbound thread compete 155 NSPR_API(PRStatus) PR_JoinThread(PRThread *thread); variable 169 NSPR_API(PRThreadPriority) PR_GetThreadPriority(const PRThread *thread); variable 239 NSPR_API(PRStatus) PR_Interrupt(PRThread *thread); variable 269 NSPR_API(PRThreadScope) PR_GetThreadScope(const PRThread *thread); variable 274 NSPR_API(PRThreadType) PR_GetThreadType(const PRThread *thread); variable 279 NSPR_API(PRThreadState) PR_GetThreadState(const PRThread *thread); variable [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_asn1/Security/ |
H A D | prthread.h | 45 ** In general, a thread of a higher priority has a statistically better 47 ** NSPR uses multiple strategies to provide execution vehicles for thread 52 ** a single GLOBAL thread. 55 ** thread associated with a given GLOBAL thread. It is further assumed 59 ** Threads have a "system flag" which when set indicates the thread 61 ** process exits when the last user thread exits). 65 ** indicates whether a thread is permanently bound to a native OS thread. 66 ** An unbound thread compete 155 NSPR_API(PRStatus) PR_JoinThread(PRThread *thread); variable 169 NSPR_API(PRThreadPriority) PR_GetThreadPriority(const PRThread *thread); variable 239 NSPR_API(PRStatus) PR_Interrupt(PRThread *thread); variable 269 NSPR_API(PRThreadScope) PR_GetThreadScope(const PRThread *thread); variable 274 NSPR_API(PRThreadType) PR_GetThreadType(const PRThread *thread); variable 279 NSPR_API(PRThreadState) PR_GetThreadState(const PRThread *thread); variable [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_asn1/lib/ |
H A D | prthread.h | 45 ** In general, a thread of a higher priority has a statistically better 47 ** NSPR uses multiple strategies to provide execution vehicles for thread 52 ** a single GLOBAL thread. 55 ** thread associated with a given GLOBAL thread. It is further assumed 59 ** Threads have a "system flag" which when set indicates the thread 61 ** process exits when the last user thread exits). 65 ** indicates whether a thread is permanently bound to a native OS thread. 66 ** An unbound thread compete 155 NSPR_API(PRStatus) PR_JoinThread(PRThread *thread); variable 169 NSPR_API(PRThreadPriority) PR_GetThreadPriority(const PRThread *thread); variable 239 NSPR_API(PRStatus) PR_Interrupt(PRThread *thread); variable 269 NSPR_API(PRThreadScope) PR_GetThreadScope(const PRThread *thread); variable 274 NSPR_API(PRThreadType) PR_GetThreadType(const PRThread *thread); variable 279 NSPR_API(PRThreadState) PR_GetThreadState(const PRThread *thread); variable [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_asn1/security_asn1/ |
H A D | prthread.h | 45 ** In general, a thread of a higher priority has a statistically better 47 ** NSPR uses multiple strategies to provide execution vehicles for thread 52 ** a single GLOBAL thread. 55 ** thread associated with a given GLOBAL thread. It is further assumed 59 ** Threads have a "system flag" which when set indicates the thread 61 ** process exits when the last user thread exits). 65 ** indicates whether a thread is permanently bound to a native OS thread. 66 ** An unbound thread compete 155 NSPR_API(PRStatus) PR_JoinThread(PRThread *thread); variable 169 NSPR_API(PRThreadPriority) PR_GetThreadPriority(const PRThread *thread); variable 239 NSPR_API(PRStatus) PR_Interrupt(PRThread *thread); variable 269 NSPR_API(PRThreadScope) PR_GetThreadScope(const PRThread *thread); variable 274 NSPR_API(PRThreadType) PR_GetThreadType(const PRThread *thread); variable 279 NSPR_API(PRThreadState) PR_GetThreadState(const PRThread *thread); variable [all...] |
/macosx-10.10/dcerpc-61/dcerpc/libdcethread/ |
H A D | dcethread_cond_wait.c | 164 dcethread* thread; local 166 MU_TRY_DCETHREAD( dcethread_create(&thread, NULL, basic_thread, NULL) ); 167 MU_TRY_DCETHREAD( dcethread_interrupt(thread) ); 168 MU_TRY_DCETHREAD( dcethread_join(thread, NULL) ); 173 dcethread* thread; local 179 MU_TRY_DCETHREAD( dcethread_create(&thread, NULL, basic_thread, NULL) ); 181 MU_TRY_DCETHREAD( dcethread_interrupt(thread) ); 182 MU_TRY_DCETHREAD( dcethread_join(thread, NULL) ); 223 dcethread* thread; local 229 MU_TRY_DCETHREAD( dcethread_create(&thread, NUL [all...] |
/macosx-10.10/apr-32/apr/apr/threadproc/os2/ |
H A D | thread.c | 71 apr_thread_t *thread = (apr_thread_t *)arg; local 72 thread->exitval = thread->func(thread, thread->data); 82 apr_thread_t *thread; local 84 thread = (apr_thread_t *)apr_palloc(pool, sizeof(apr_thread_t)); 85 *new = thread; 87 if (thread == NULL) { 91 thread [all...] |