1td_thr_sleepinfo(3C_DB)Threads Debugging Library Functiontsd_thr_sleepinfo(3C_DB)
2
3
4
6 td_thr_sleepinfo - return the synchronization handle for the object on
7 which a thread is blocked
8
10 cc [ flag... ] file... -lc_db [ library... ]
11 #include <proc_service.h>
12 #include <thread_db.h>
13
14 td_err_e td_thr_sleepinfo(const td_thrhandle_t *th_p, td_synchandle_t *sh_p);
15
16
18 The td_thr_sleepinfo() function returns in *sh_p the handle of the
19 synchronization object on which a sleeping thread is blocked.
20
22 TD_OK The call completed successfully.
23
24
25 TD_BADTH An invalid thread handle was passed in.
26
27
28 TD_DBERR A call to one of the imported interface routines failed.
29
30
31 TD_ERR The thread th_p is not blocked on a synchronization object,
32 or a libc_db internal error occurred.
33
34
36 See attributes(5) for description of the following attributes:
37
38
39
40
41 ┌─────────────────────────────┬─────────────────────────────┐
42 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
43 ├─────────────────────────────┼─────────────────────────────┤
44 │MT-Level │Safe │
45 └─────────────────────────────┴─────────────────────────────┘
46
48 libc_db(3LIB), attributes(5)
49
50
51
52SunOS 5.11 20 Oct 1998 td_thr_sleepinfo(3C_DB)