summaryrefslogtreecommitdiffstats
path: root/sys/sys/sched.h
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2005-04-19 04:01:25 +0000
committerjkoshy <jkoshy@FreeBSD.org>2005-04-19 04:01:25 +0000
commitdc3444cd91762fa913e417f7f7a7a0484872f54e (patch)
tree3175e06cfbec643ca7426d756f2362160f9309d4 /sys/sys/sched.h
parent8c509864f2dd0cdcc6116de38bf9137583c4ab2f (diff)
downloadFreeBSD-src-dc3444cd91762fa913e417f7f7a7a0484872f54e.zip
FreeBSD-src-dc3444cd91762fa913e417f7f7a7a0484872f54e.tar.gz
Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities
and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes)
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r--sys/sys/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h
index 349c1b5..ff555d2 100644
--- a/sys/sys/sched.h
+++ b/sys/sys/sched.h
@@ -87,6 +87,7 @@ void sched_bind(struct thread *td, int cpu);
static __inline void sched_pin(void);
void sched_unbind(struct thread *td);
static __inline void sched_unpin(void);
+int sched_is_bound(struct thread *td);
/*
* These procedures tell the process data structure allocation code how
OpenPOWER on IntegriCloud