summaryrefslogtreecommitdiffstats
path: root/sys/sys/lockmgr.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-09-12 08:38:13 +0000
committerjulian <julian@FreeBSD.org>2001-09-12 08:38:13 +0000
commit5596676e6c6c1e81e899cd0531f9b1c28a292669 (patch)
treeb1a19fcdf05759281fab0d89efb13f0fdf42102e /sys/sys/lockmgr.h
parent83e00d4274950d2b531c24692cd123538ffbddb9 (diff)
downloadFreeBSD-src-5596676e6c6c1e81e899cd0531f9b1c28a292669.zip
FreeBSD-src-5596676e6c6c1e81e899cd0531f9b1c28a292669.tar.gz
KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
Diffstat (limited to 'sys/sys/lockmgr.h')
-rw-r--r--sys/sys/lockmgr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/lockmgr.h b/sys/sys/lockmgr.h
index 477ef50..0b4ca9d 100644
--- a/sys/sys/lockmgr.h
+++ b/sys/sys/lockmgr.h
@@ -196,7 +196,7 @@ struct lock {
#endif /* INVARIANTS */
void dumplockinfo(struct lock *lkp);
-struct proc;
+struct thread;
void lockinit __P((struct lock *, int prio, char *wmesg, int timo,
int flags));
@@ -204,7 +204,7 @@ void lockdestroy __P((struct lock *));
#ifdef DEBUG_LOCKS
int debuglockmgr __P((struct lock *, u_int flags,
- struct mtx *, struct proc *p,
+ struct mtx *, struct thread *p,
const char *,
const char *,
int));
@@ -213,10 +213,10 @@ int debuglockmgr __P((struct lock *, u_int flags,
"lockmgr", __FILE__, __LINE__)
#else
int lockmgr __P((struct lock *, u_int flags,
- struct mtx *, struct proc *p));
+ struct mtx *, struct thread *p));
#endif
void lockmgr_printinfo __P((struct lock *));
-int lockstatus __P((struct lock *, struct proc *));
+int lockstatus __P((struct lock *, struct thread *));
int lockcount __P((struct lock *));
#endif /* !_SYS_LOCKMGR_H_ */
OpenPOWER on IntegriCloud