diff options
author | julian <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
commit | 5596676e6c6c1e81e899cd0531f9b1c28a292669 (patch) | |
tree | b1a19fcdf05759281fab0d89efb13f0fdf42102e /sys/sys/filedesc.h | |
parent | 83e00d4274950d2b531c24692cd123538ffbddb9 (diff) | |
download | FreeBSD-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/filedesc.h')
-rw-r--r-- | sys/sys/filedesc.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/sys/filedesc.h b/sys/sys/filedesc.h index feebb62..3c1cb8d 100644 --- a/sys/sys/filedesc.h +++ b/sys/sys/filedesc.h @@ -125,16 +125,16 @@ struct sigio { SLIST_HEAD(sigiolst, sigio); #ifdef _KERNEL -int closef __P((struct file *fp, struct proc *p)); -int dupfdopen __P((struct proc *p, struct filedesc *fdp, int indx, int dfd, int mode, +int closef __P((struct file *fp, struct thread *p)); +int dupfdopen __P((struct thread *td, struct filedesc *fdp, int indx, int dfd, int mode, int error)); -int falloc __P((struct proc *p, struct file **resultfp, int *resultfd)); -int fdalloc __P((struct proc *p, int want, int *result)); -int fdavail __P((struct proc *p, int n)); -void fdcloseexec __P((struct proc *p)); -struct filedesc *fdcopy __P((struct proc *p)); -void fdfree __P((struct proc *p)); -struct filedesc *fdinit __P((struct proc *p)); +int falloc __P((struct thread *p, struct file **resultfp, int *resultfd)); +int fdalloc __P((struct thread *p, int want, int *result)); +int fdavail __P((struct thread *td, int n)); +void fdcloseexec __P((struct thread *td)); +struct filedesc *fdcopy __P((struct thread *td)); +void fdfree __P((struct thread *td)); +struct filedesc *fdinit __P((struct thread *td)); struct filedesc *fdshare __P((struct proc *p)); void ffree __P((struct file *fp)); pid_t fgetown __P((struct sigio *sigio)); @@ -143,7 +143,7 @@ void funsetown __P((struct sigio *sigio)); void funsetownlst __P((struct sigiolst *sigiolst)); struct file *holdfp __P((struct filedesc *fdp, int fd, int flag)); int getvnode __P((struct filedesc *fdp, int fd, struct file **fpp)); -void setugidsafety __P((struct proc *p)); +void setugidsafety __P((struct thread *td)); #endif /* _KERNEL */ |