Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   yamt
Date:           Fri Oct  1 16:30:57 UTC 2004

Modified Files:
        src/sys/compat/darwin: darwin_sysctl.c
        src/sys/compat/irix: irix_exec.c
        src/sys/compat/mach: mach_port.c
        src/sys/kern: init_main.c init_sysctl.c kern_exec.c kern_exit.c
            kern_ktrace.c kern_proc.c kern_resource.c kern_sig.c kern_synch.c
            vfs_syscalls.c
        src/sys/sys: proc.h

Log Message:
introduce a function, proclist_foreach_call, to iterate all procs on
a proclist and call the specified function for each of them.
primarily to fix a procfs locking problem, but i think that it's useful for
others as well.

while i'm here, introduce PROCLIST_FOREACH macro, which is similar to
LIST_FOREACH but skips marker entries which are used by proclist_foreach_call.


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/sys/compat/darwin/darwin_sysctl.c
cvs rdiff -r1.38 -r1.39 src/sys/compat/irix/irix_exec.c
cvs rdiff -r1.54 -r1.55 src/sys/compat/mach/mach_port.c
cvs rdiff -r1.239 -r1.240 src/sys/kern/init_main.c
cvs rdiff -r1.31 -r1.32 src/sys/kern/init_sysctl.c
cvs rdiff -r1.190 -r1.191 src/sys/kern/kern_exec.c
cvs rdiff -r1.142 -r1.143 src/sys/kern/kern_exit.c
cvs rdiff -r1.93 -r1.94 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.78 -r1.79 src/sys/kern/kern_proc.c
cvs rdiff -r1.85 -r1.86 src/sys/kern/kern_resource.c
cvs rdiff -r1.198 -r1.199 src/sys/kern/kern_sig.c
cvs rdiff -r1.144 -r1.145 src/sys/kern/kern_synch.c
cvs rdiff -r1.211 -r1.212 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.194 -r1.195 src/sys/sys/proc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index