Searched refs:thread (Results 126 - 150 of 688) sorted by relevance

1234567891011>>

/macosx-10.10/xnu-2782.1.97/libsyscall/mach/
H A Dexc_catcher_state_identity.c46 mach_port_t thread,
67 return (*exc_raise_state_identity_func)(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
70 return catch_exception_raise_state_identity(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
44 internal_catch_exception_raise_state_identity( mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) argument
H A Dthread_act.c50 thread_policy_set(thread_act_t thread, thread_policy_flavor_t flavor, thread_policy_t policy_info, mach_msg_type_number_t policy_infoCnt) argument
54 kr = _kernelrpc_thread_policy_set(thread, flavor, policy_info, policy_infoCnt);
56 _pthread_clear_qos_tsd(thread);
/macosx-10.10/libauto-186/
H A DZone.cpp242 // listen for changes to thread-local storage
368 return r; // another thread allocated a region
410 void *Zone::allocate_large(Thread &thread, usword_t &size, const usword_t layout, bool clear, bool refcount_is_one) { argument
420 ConditionBarrier barrier(thread.needs_enlivening());
508 // check the current registered thread's enlivening queue, to see if it is locked.
509 Thread *thread = current_thread(); local
510 if (thread != NULL) {
511 LockedBoolean &needs_enlivening = thread->needs_enlivening();
564 void *Zone::block_allocate(Thread &thread, const size_t size, const usword_t layout, bool clear, bool refcount_is_one) { argument
571 // try thread cach
632 batch_allocate(Thread &thread, size_t size, const usword_t layout, bool clear, bool refcount_is_one, void **results, unsigned num_requested) argument
819 Thread &thread = registered_thread(); local
878 Thread &thread = registered_thread(); local
1573 Thread *thread = current_thread(); local
1632 Thread *thread = (Thread *)key_value; local
1663 nextScannableThread(Thread *thread) argument
1690 operator ()(Thread *thread) argument
[all...]
H A Dauto_zone.cpp198 // For synchronous requests we have a problem: we must avoid deadlock with main thread finalization.
282 Thread &thread = azone->registered_thread(); local
288 if (ThreadLocalCollector::should_collect(azone, thread, true))
294 ThreadLocalCollector tlc(azone, (void *)auto_get_sp(), thread);
347 Thread *thread = azone->current_thread(); local
348 if (thread)
349 thread->reap_all_local_blocks();
465 Thread &thread = azone->registered_thread(); local
466 void *result = azone->block_allocate(thread, size, AUTO_MEMORY_UNSCANNED, false, true);
503 Thread &thread local
510 Thread &thread = azone->registered_thread(); local
555 Thread &thread = azone->registered_thread(); local
854 Thread &thread = azone->registered_thread(); local
890 Thread &thread = azone->registered_thread(); local
926 check_resurrection(Thread &thread, Zone *azone, void *recipient, bool recipient_is_block, const void *new_value, size_t offset) argument
937 check_resurrection(Thread &thread, Zone *azone, DestBlockRef recipient, ValueBlockRef new_value, size_t offset) argument
945 check_resurrection(Thread &thread, Zone *azone, void *global_recipient, BlockRef new_value, size_t offset) argument
972 Thread &thread = _zone->registered_thread(); variable
985 Thread &thread = _zone->registered_thread(); local
1065 Thread &thread = azone->registered_thread(); local
1109 Thread &thread = azone->registered_thread(); local
1130 Thread &thread = azone->registered_thread(); local
1142 Thread &thread = azone->registered_thread(); local
1213 Thread *thread = azone->current_thread(); local
1430 Thread &thread = azone->registered_thread(); local
1469 Thread &thread = azone->registered_thread(); local
1496 Thread &thread = azone->registered_thread(); local
1540 Thread &thread = _zone->registered_thread(); variable
1565 Thread &thread = azone->registered_thread(); local
1621 Thread &thread = azone->registered_thread(); local
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/libldap_r/
H A Dthr_nt.c25 #include "ldap_pvt_thread.h" /* Get the thread interface */
58 ldap_pvt_thread_create( ldap_pvt_thread_t * thread, argument
71 *thread = (ldap_pvt_thread_t) tid;
87 ldap_pvt_thread_join( ldap_pvt_thread_t thread, void **thread_return ) argument
93 if ( tids[i].tid == thread )
107 ldap_pvt_thread_kill( ldap_pvt_thread_t thread, int signo ) argument
H A Dthr_stub.c21 #include "ldap_pvt_thread.h" /* Get the thread interface */
48 ldap_pvt_thread_create( ldap_pvt_thread_t * thread, argument
68 ldap_pvt_thread_join( ldap_pvt_thread_t thread, void **status ) argument
75 ldap_pvt_thread_kill( ldap_pvt_thread_t thread, int signo ) argument
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dtesttavl.c42 static void ravl_print LDAP_P(( Avlnode *root, int depth, int thread ));
118 static void ravl_print( Avlnode *root, int depth, int thread )
122 if ( root && !thread )
127 if ( thread )
139 if ( !thread )
/macosx-10.10/xnu-2782.1.97/bsd/dev/i386/
H A Dsystemcalls.c29 #include <kern/thread.h>
82 thread_t thread; local
100 thread = current_thread();
101 uthread = get_bsdthread_info(thread);
174 * Delayed binding of thread credential to process credential, if we
175 * are not running with an explicitly set thread credential.
209 pal_syscall_restart(thread, state);
248 pal_execve_return(thread);
259 thread_t thread; local
276 thread
448 thread_t thread; local
[all...]
/macosx-10.10/system_cmds-643.1.1/latency.tproj/
H A Dlatency.c336 static void enter_syscall(FILE *fp, kd_buf *kd, int thread, int type, char *command, uint64_t now, uint64_t idelta, uint64_t start_bias, int print_info);
337 static void exit_syscall(FILE *fp, kd_buf *kd, int thread, int type, char *command, uint64_t now, uint64_t idelta, uint64_t start_bias, int print_info);
338 static void print_entry(FILE *fp, kd_buf *kd, int thread, int type, char *command, uint64_t now, uint64_t idelta, uint64_t start_bias, kd_buf *kd_note);
350 static void check_for_thread_update(uintptr_t thread, int debugid_base, kd_buf *kbufp, char **command);
351 static void log_scheduler(kd_buf *kd_start, kd_buf *kd_stop, kd_buf *end_of_sample, int s_priority, double s_latency, uintptr_t thread);
352 static int check_for_scheduler_latency(int type, uintptr_t *thread, uint64_t now, kd_buf *kd, kd_buf **kd_start, int *priority, double *latency);
1206 printf("Can't read the thread map -- this is not fatal\n");
1220 printf("Can't read the thread map -- this is not fatal\n");
1226 create_map_entry(mapptr[i].thread, &mapptr[i].command[0]);
1232 create_map_entry(uintptr_t thread, cha argument
1255 delete_thread_entry(uintptr_t thread) argument
1314 create_tmp_map_entry(uintptr_t thread, uintptr_t pthread) argument
1334 find_thread_entry(uintptr_t thread) argument
1349 find_thread_name(uintptr_t thread, char **command) argument
1361 add_thread_entry_to_list(thread_entry_t *list, uintptr_t thread) argument
1377 exec_thread_entry(uintptr_t thread, char *command) argument
1396 record_thread_entry_for_gc(uintptr_t thread) argument
1484 insert_run_event(uintptr_t thread, int priority, kd_buf *kd, uint64_t now) argument
1515 find_run_event(uintptr_t thread) argument
1529 delete_run_event(uintptr_t thread) argument
1586 insert_start_event(uintptr_t thread, int type, uint64_t now) argument
1617 consume_start_event(uintptr_t thread, int type, uint64_t now) argument
1683 thread_in_user_mode(uintptr_t thread, char *command) argument
1704 handle_lookup_event(uintptr_t thread, int debugid, kd_buf *kdp) argument
1761 delete_lookup_event(uintptr_t thread, lookup_t lkp_to_delete) argument
1889 uintptr_t thread = kd->arg5; local
1931 enter_syscall(FILE *fp, kd_buf *kd, int thread, int type, char *command, uint64_t now, uint64_t idelta, uint64_t start_bias, int print_info) argument
1979 exit_syscall(FILE *fp, kd_buf *kd, int thread, int type, char *command, uint64_t now, uint64_t idelta, uint64_t start_bias, int print_info) argument
2021 print_entry(FILE *fp, kd_buf *kd, int thread, int type, char *command, uint64_t now, uint64_t idelta, uint64_t start_bias, kd_buf *kd_note) argument
2051 check_for_thread_update(uintptr_t thread, int debugid_base, kd_buf *kbufp, char **command) argument
2094 int thread = kd->arg5; local
2273 int thread = kd->arg5; local
2306 int thread = kd_beg->arg5; local
2371 log_scheduler(kd_buf *kd_beg, kd_buf *kd_end, kd_buf *end_of_sample, int s_priority, double s_latency, uintptr_t thread) argument
2425 check_for_scheduler_latency(int type, uintptr_t *thread, uint64_t now, kd_buf *kd, kd_buf **kd_start, int *priority, double *latency) argument
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Dsched.h82 #define IDLEPRI 0 /* idle thread priority */
167 /* Type used for thread->sched_mode and saved_mode */
278 /* Handle quantum expiration for an executing thread */
281 timer_call_param_t thread);
365 /* TH_RUN & !TH_IDLE controls whether a thread has a run count */
373 extern void sched_share_incr(thread_t thread);
374 extern void sched_share_decr(thread_t thread);
375 extern void sched_background_incr(thread_t thread);
376 extern void sched_background_decr(thread_t thread);
378 extern void assert_thread_sched_count(thread_t thread);
[all...]
H A Dtask.c108 #include <kern/thread.h>
277 thread_t thread; local
291 /* FIXME: On x86, the thread save state flavor can diverge from the
294 * certain routines may observe the thread as being in an inconsistent
299 queue_iterate(&task->threads, thread, thread_t, task_threads) {
300 thread_mtx_lock(thread);
301 machine_thread_switch_addrmode(thread);
302 thread_mtx_unlock(thread);
1165 * (kern/thread.c) about problems with terminating the "current task."
1209 thread_t thread, sel local
1400 thread_t thread, self; local
1519 register thread_t thread; local
1603 register thread_t thread, self; local
1632 register thread_t thread; local
1684 thread_t thread; local
2642 register thread_t thread; local
2675 register thread_t thread; local
2953 register thread_t thread; local
3172 thread_t thread; local
3235 thread_t thread; local
3273 thread_t thread; local
3344 thread_t thread = current_thread(); local
3833 thread_t thread= THREAD_NULL; local
[all...]
H A Dbsd_kern.c35 #include <kern/thread.h>
112 * retrieving the first thread for extra safety.
116 thread_t thread = (thread_t)(void *)queue_first(&task->threads); local
118 if (queue_end(&task->threads, (queue_entry_t)thread))
119 thread = THREAD_NULL;
124 return (thread);
134 thread_t inc, thread = THREAD_NULL; local
149 thread = inc;
158 *result_out = thread;
160 if (thread) {
176 check_actforsig( task_t task, thread_t thread, int setast) argument
300 swap_task_map(task_t task, thread_t thread, vm_map_t map, boolean_t doswitch) argument
641 thread_t thread; local
865 thread_t thread; local
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/kperf/
H A Dpet.c29 /* all thread states code */
55 /* the actual thread pointer */
66 /* sample an actual, honest to god thread! */
68 pet_sample_thread( thread_t thread )
75 ctx.cur_thread = thread;
78 task = chudxnu_task_for_thread(thread);
82 skip_callstack = (chudxnu_thread_get_dirty(thread) == TRUE) || ((thread->kperf_pet_cnt % (uint64_t)pet_idle_rate) == 0) ? 0 : SAMPLE_FLAG_EMPTY_CALLSTACK;
89 chudxnu_thread_set_dirty(thread, FALSE);
91 thread
103 thread_t thread = threadv[i]; local
[all...]
H A Dthreadinfo.c30 /* Sample thread data */
33 #include <kern/thread.h> /* thread_* */
52 make_runmode(thread_t thread) argument
57 const int mode = chudxnu_thread_get_scheduler_state(thread);
61 return (chudxnu_thread_get_idle(thread) ? TH_IDLE : TH_IDLE_N);
71 /* code to collect current thread info */
93 /* 'extra' thread-info functions that are deferred 'til thread-context
102 /* can only pend on the current thread */
106 panic("pending to non-current thread");
[all...]
/macosx-10.10/apr-32/apr/apr/threadproc/netware/
H A Dthread.c187 apr_thread_t *thread)
189 if (thread != NULL) {
190 return apr_pool_userdata_get(data, key, thread->pool);
200 apr_thread_t *thread)
202 if (thread != NULL) {
203 return apr_pool_userdata_set(data, key, cleanup, thread->pool);
252 APR_POOL_IMPLEMENT_ACCESSOR(thread)
186 apr_thread_data_get(void **data, const char *key, apr_thread_t *thread) argument
198 apr_thread_data_set(void *data, const char *key, apr_status_t (*cleanup) (void *), apr_thread_t *thread) argument
/macosx-10.10/xnu-2782.1.97/osfmk/i386/
H A Dlocks_i386.c69 #include <kern/thread.h>
202 void lck_rw_clear_promotions_x86(thread_t thread);
378 panic("Spinlock acquisition timed out: lock=%p, lock owner thread=0x%lx, current_thread: %p, lock owner active on CPU 0x%x, current owner: 0x%lx", l, lowner, current_thread(), lock_cpu, (uintptr_t)l->interlock.lock_data);
523 * ignore this test if the locking thread is 0.
530 printf(" current thread %p (new attempt at pc %p)\n",
601 panic("%s: unlocking lock 0x%p, owned by thread %p",
1080 thread_t thread; local
1104 thread = current_thread();
1105 rwlock_count = thread->rwlock_count--;
1108 panic("rw lock count underflow for thread
1311 thread_t thread = current_thread(); local
1562 lck_rw_clear_promotions_x86(thread_t thread) argument
1771 thread_t thread = current_thread(); local
1826 thread_t thread; local
[all...]
H A Dpcb.c74 #include <kern/thread.h>
93 #include <i386/thread.h>
143 thread_t thread);
146 get_exception_state32(thread_t thread, x86_exception_state32_t *es);
149 get_exception_state64(thread_t thread, x86_exception_state64_t *es);
152 get_thread_state32(thread_t thread, x86_thread_state32_t *ts);
155 get_thread_state64(thread_t thread, x86_thread_state64_t *ts);
158 set_thread_state32(thread_t thread, x86_thread_state32_t *ts);
161 set_thread_state64(thread_t thread, x86_thread_state64_t *ts);
330 set_debug_state32(thread_t thread, x86_debug_state32_ argument
364 set_debug_state64(thread_t thread, x86_debug_state64_t *ds) argument
404 get_debug_state32(thread_t thread, x86_debug_state32_t *ds) argument
417 get_debug_state64(thread_t thread, x86_debug_state64_t *ds) argument
521 machine_processor_shutdown( thread_t thread, void (*doshutdown)(processor_t), processor_t processor) argument
540 machine_thread_state_initialize( thread_t thread) argument
596 get_exception_state64(thread_t thread, x86_exception_state64_t *es) argument
609 get_exception_state32(thread_t thread, x86_exception_state32_t *es) argument
623 set_thread_state32(thread_t thread, x86_thread_state32_t *ts) argument
686 set_thread_state64(thread_t thread, x86_thread_state64_t *ts) argument
726 get_thread_state32(thread_t thread, x86_thread_state32_t *ts) argument
754 get_thread_state64(thread_t thread, x86_thread_state64_t *ts) argument
1527 machine_thread_get_kern_state( thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument
1696 machine_thread_switch_addrmode(thread_t thread) argument
1726 machine_set_current_thread(thread_t thread) argument
1778 machine_stack_detach(thread_t thread) argument
1798 machine_stack_attach( thread_t thread, vm_offset_t stack) argument
[all...]
H A Dpanic_hooks.c33 #include <kern/thread.h>
42 thread_t thread; member in struct:panic_hook
71 hook->thread = current_thread();
90 thread_t thread = current_thread(); local
102 if (hook->thread == thread) {
/macosx-10.10/DiskArbitration-268/diskarbitrationd/
H A DDAThread.c48 pthread_t thread; member in struct:__DAThreadRunLoopSourceJob::__anon484::__anon485
66 * Run a thread.
77 if ( pthread_equal( job->execute.thread, pthread_self( ) ) )
234 * Execute a thread.
237 pthread_t thread; local
247 * Run the thread.
252 status = pthread_create( &thread, NULL, __DAThreadFunction, NULL );
271 job->execute.thread = thread;
/macosx-10.10/OpenSSL098-52/src/crypto/rand/
H A Drand_nw.c119 #include <nks/thread.h>
/macosx-10.10/WTF-7600.1.24/wtf/
H A DByteSpinLock.h29 #include <thread>
/macosx-10.10/WebCore-7600.1.25/Modules/websockets/
H A DThreadableWebSocketChannel.cpp60 WorkerRunLoop& runLoop = workerGlobalScope->thread().runLoop();
/macosx-10.10/bind9-45.101/bind9/lib/isc/win32/include/isc/
H A Dcondition.h27 #include <isc/thread.h>
/macosx-10.10/bmalloc-7600.1.17/bmalloc/
H A DVMHeap.cpp31 #include <thread>
/macosx-10.10/dcerpc-61/dcerpc/libdcethread/
H A Ddcethread-exception.h91 void dcethread__exc_handle_interrupt(dcethread* thread, void* data);

Completed in 394 milliseconds

1234567891011>>