summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/thread_db_int.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2004-08-08 22:37:53 +0000
committerdavidxu <davidxu@FreeBSD.org>2004-08-08 22:37:53 +0000
commitd29ded002bcddf2cd1977bb8d7ccb65487590ee8 (patch)
treeef2fbec2f4813f6b13a05ff5f301e393a7edfaf1 /lib/libthread_db/thread_db_int.h
parent634d20a05ea861318018f78b9103d3f57baf97f4 (diff)
downloadFreeBSD-src-d29ded002bcddf2cd1977bb8d7ccb65487590ee8.zip
FreeBSD-src-d29ded002bcddf2cd1977bb8d7ccb65487590ee8.tar.gz
1.Use new way to check if a thread is in critical region, defer suspending
if it is true. 2.Add thread_db api td_thr_tls_get_addr to get tls address, the real code is commented out util tls patch is committed. Reviewed by: deischen
Diffstat (limited to 'lib/libthread_db/thread_db_int.h')
-rw-r--r--lib/libthread_db/thread_db_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libthread_db/thread_db_int.h b/lib/libthread_db/thread_db_int.h
index 1b56251..7dc152c 100644
--- a/lib/libthread_db/thread_db_int.h
+++ b/lib/libthread_db/thread_db_int.h
@@ -74,6 +74,8 @@ struct ta_ops {
const prfpregset_t *);
td_err_e (*to_thr_setgregs)(const td_thrhandle_t *, const prgregset_t);
td_err_e (*to_thr_validate)(const td_thrhandle_t *);
+ td_err_e (*to_thr_tls_get_addr)(const td_thrhandle_t *,
+ void *, size_t, void **);
/* FreeBSD specific extensions. */
td_err_e (*to_thr_sstep)(const td_thrhandle_t *, int);
OpenPOWER on IntegriCloud