diff options
author | marcel <marcel@FreeBSD.org> | 2003-06-23 09:49:16 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-06-23 09:49:16 +0000 |
commit | 7958c0f19c67e4714fb067860498abe52c1100e8 (patch) | |
tree | 019b4d93730656bc23e9d33450da24bfec8b7a34 /lib/libpthread/thread | |
parent | 4b2734a68886595d830977680706028a43a978d6 (diff) | |
download | FreeBSD-src-7958c0f19c67e4714fb067860498abe52c1100e8.zip FreeBSD-src-7958c0f19c67e4714fb067860498abe52c1100e8.tar.gz |
Change the definition of _ksd_curkse, _ksd_curthread and
_ksd_readandclear_tmbx to be function-like. That way we
can define them as inline functions or create prototypes
for them.
This change allows the ksd interface on ia64 to be fully
inlined.
Diffstat (limited to 'lib/libpthread/thread')
-rw-r--r-- | lib/libpthread/thread/thr_kern.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c index 71957cf..2641890 100644 --- a/lib/libpthread/thread/thr_kern.c +++ b/lib/libpthread/thread/thr_kern.c @@ -478,7 +478,7 @@ _kse_critical_enter(void) { kse_critical_t crit; - crit = _ksd_readandclear_tmbx; + crit = _ksd_readandclear_tmbx(); return (crit); } @@ -1815,14 +1815,14 @@ kse_wakeup_multi(struct kse *curkse) struct pthread * _get_curthread(void) { - return (_ksd_curthread); + return (_ksd_curthread()); } /* This assumes the caller has disabled upcalls. */ struct kse * _get_curkse(void) { - return (_ksd_curkse); + return (_ksd_curkse()); } void |