For code reuse in Linuxulator rename get_proccess_cputime() and get_thread_cputime() and add prototypes for it to <sys/syscallsubr.h>.
Fix whitespace nit while here.
Details
Details
- Reviewers
kib emaste - Group Reviewers
Linux Emulation - Commits
- rS357492: For code reuse in Linuxulator rename get_proccess_cputime()
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
It seems that both functions use process lock as a way to ensure that the process is not exiting under it. This should be asserted since functions become public interface.