Back to index

glibc  2.9
td_ta_map_id2thr.c File Reference
#include "thread_dbP.h"

Go to the source code of this file.


td_err_e td_ta_map_id2thr (const td_thragent_t *ta, pthread_t pt, td_thrhandle_t *th)

Function Documentation

td_err_e td_ta_map_id2thr ( const td_thragent_t *  ta,
pthread_t  pt,
td_thrhandle_t th 

Definition at line 25 of file td_ta_map_id2thr.c.

  LOG ("td_ta_map_id2thr");

  /* Test whether the TA parameter is ok.  */
  if (! ta_ok (ta))
    return TD_BADTA;

  /* Create the `td_thrhandle_t' object.  */
  th->th_ta_p = (td_thragent_t *) ta;
  th->th_unique = (psaddr_t) pt;

  return TD_OK;

Here is the call graph for this function: