12345678910111213141516171819202122232425262728293031323334353637 |
- #include "thread_dbP.h"
- td_err_e
- td_ta_map_id2thr (const td_thragent_t *ta, pthread_t pt, td_thrhandle_t *th)
- {
- LOG ("td_ta_map_id2thr");
-
- if (! ta_ok (ta))
- return TD_BADTA;
-
- th->th_ta_p = (td_thragent_t *) ta;
- th->th_unique = (psaddr_t) pt;
- return TD_OK;
- }
|