Home
last modified time | relevance | path

Searched refs:tcdp (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/libc/port/rt/
H A Dsigev_thread.c125 sigev_add_work(thread_communication_data_t *tcdp, in sigev_add_work() argument
128 tpool_t *tpool = tcdp->tcd_poolp; in sigev_add_work()
145 sigev_destroy_pool(thread_communication_data_t *tcdp) in sigev_destroy_pool() argument
147 if (tcdp->tcd_poolp != NULL) in sigev_destroy_pool()
148 tpool_abandon(tcdp->tcd_poolp); in sigev_destroy_pool()
149 tcdp->tcd_poolp = NULL; in sigev_destroy_pool()
151 if (tcdp->tcd_subsystem == MQ) { in sigev_destroy_pool()
155 sig_mutex_lock(&tcdp->tcd_lock); in sigev_destroy_pool()
156 tcdp->tcd_server_id = 0; in sigev_destroy_pool()
157 if (tcdp->tcd_msg_closing) { in sigev_destroy_pool()
[all …]
H A Dclock_timer.c86 thread_communication_data_t *tcdp; in timer_create() local
96 tcdp = setup_sigev_handler(sigevp, TIMER); in timer_create()
97 if (tcdp == NULL) in timer_create()
102 port_notify.portnfy_port = tcdp->tcd_port; in timer_create()
111 if ((rc = launch_spawner(tcdp)) != 0) in timer_create()
114 timer_tcd[*timerid] = tcdp; in timer_create()
117 free_sigev_handler(tcdp); in timer_create()
159 thread_communication_data_t *tcdp; in postfork1_child_sigev_timer() local
163 if ((tcdp = timer_tcd[timer]) != NULL) { in postfork1_child_sigev_timer()
165 tcd_teardown(tcdp); in postfork1_child_sigev_timer()
H A Dmqueue.c601 thread_communication_data_t *tcdp; in mq_close() local
626 if ((tcdp = mqdp->mqd_tcd) != NULL) { in mq_close()
628 del_sigev_mq(tcdp); /* possible cancellation point */ in mq_close()
907 cancel_if_necessary(thread_communication_data_t *tcdp, in cancel_if_necessary() argument
910 int do_cancel = !pthread_attr_equal(tcdp->tcd_attrp, in cancel_if_necessary()
917 (void) pthread_cancel(tcdp->tcd_server_id); in cancel_if_necessary()
923 tcdp->tcd_notif.sigev_notify = SIGEV_THREAD; in cancel_if_necessary()
924 tcdp->tcd_notif.sigev_signo = 0; in cancel_if_necessary()
925 tcdp->tcd_notif.sigev_value = sigevp->sigev_value; in cancel_if_necessary()
926 tcdp->tcd_notif.sigev_notify_function = in cancel_if_necessary()
[all …]