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:   thorpej
Date:           Wed Oct 11 04:51:07 UTC 2006

Modified Files:
        src/sys/kern: kern_exit.c kern_lwp.c kern_proc.c
        src/sys/sys: lwp.h proc.h

Log Message:
Don't free specificdata in lwp_exit2(); it's not safe to block there.
Instead, free an LWP's specificdata from lwp_exit() (if it is not the
last LWP) or exit1() (if it is the last LWP).  For consistency, free the
proc's specificdata from exit1() as well.  Add lwp_finispecific() and
proc_finispecific() functions to make this more convenient.


To generate a diff of this commit:
cvs rdiff -r1.159 -r1.160 src/sys/kern/kern_exit.c
cvs rdiff -r1.44 -r1.45 src/sys/kern/kern_lwp.c
cvs rdiff -r1.97 -r1.98 src/sys/kern/kern_proc.c
cvs rdiff -r1.44 -r1.45 src/sys/sys/lwp.h
cvs rdiff -r1.229 -r1.230 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