summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_kern.c
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2003-06-23 09:49:16 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2003-06-23 09:49:16 +0000
commit46559d7101fc7b9bb7d96cead9c02f1b2866e8ec (patch)
tree019b4d93730656bc23e9d33450da24bfec8b7a34 /lib/libpthread/thread/thr_kern.c
parentc30afbc57843384b910946cee01856c4f72256aa (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
-rw-r--r--lib/libpthread/thread/thr_kern.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c
index 71957cfec78a..2641890a747a 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