1td_thr_tsd(3C_DB)     Threads Debugging Library Functions    td_thr_tsd(3C_DB)
2
3
4

NAME

6       td_thr_tsd - get a thread's thread-specific data for libc_db library of
7       interfaces
8

SYNOPSIS

10       cc [ flag... ] file... -lc_db [ library... ]
11       #include <proc_service.h>
12       #include <thread_db.h>
13
14       td_err_e td_thr_tsd(const td_thrhandle_t, const thread_key_t key, void *data_pp);
15
16

DESCRIPTION

18       The td_thr_tsd() function returns in *data_pp the thread-specific  data
19       pointer  for the thread identified by th_p and the thread-specific data
20       key key. This is the same value that the thread th_p would obtain if it
21       called thr_getspecific(3C).
22
23
24       To  find  all  the  thread-specific  data keys in use in a given target
25       process, call td_ta_tsd_iter(3C_DB).
26

RETURN VALUES

28       TD_OK       The call completed successfully.
29
30
31       TD_BADTH    An invalid thread handle was passed in.
32
33
34       TD_DBERR    A call to one of the imported interface routines failed.
35
36
37       TD_ERR      A libc_db internal error occurred.
38
39

ATTRIBUTES

41       See attributes(5) for description of the following attributes:
42
43
44
45
46       ┌─────────────────────────────┬─────────────────────────────┐
47       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
48       ├─────────────────────────────┼─────────────────────────────┤
49       │MT-Level                     │Safe                         │
50       └─────────────────────────────┴─────────────────────────────┘
51

SEE ALSO

53       libc_db(3LIB),       td_ta_tsd_iter(3C_DB),        thr_getspecific(3C),
54       attributes(5)
55
56
57
58SunOS 5.11                        20 Oct 1998                td_thr_tsd(3C_DB)
Impressum