Source-Changes archive

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

CVS commit: src/lib/libkvm



Module Name:    src
Committed By:   christos
Date:           Fri Jul  6 14:25:42 UTC 2007

Modified Files:
        src/lib/libkvm: kvm_proc.c

Log Message:
- Fix kvm_getlwps not to spit errors if we lose the race:
        - if the process does not exist anymore, return NULL
        - if the process has created more lwps retry
        XXX[1]: We should fix sysctl_kern_lwp() to return the number of lwps it
                needs in oldlenp when ENOMEM. The we can avoid calling sysctl
                twice (by starting let's say with always 1 lwp, or 10).
        XXX[2]: We should fix kvm_getlwps to never spit errors.
- Silence new lint warnings


To generate a diff of this commit:
cvs rdiff -r1.70 -r1.71 src/lib/libkvm/kvm_proc.c

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