Page MenuHomeFreeBSD

Make get_proccess_cputime and get_thread_cputime public api
ClosedPublic

Authored by dchagin on Jan 23 2020, 7:13 PM.
Tags
None
Referenced Files
F152073722: D23340.id67224.diff
Sun, Apr 12, 1:18 PM
Unknown Object (File)
Wed, Apr 8, 10:07 PM
Unknown Object (File)
Wed, Apr 8, 1:33 PM
Unknown Object (File)
Tue, Apr 7, 3:28 PM
Unknown Object (File)
Sun, Apr 5, 7:04 AM
Unknown Object (File)
Tue, Mar 24, 12:41 PM
Unknown Object (File)
Tue, Mar 24, 10:09 AM
Unknown Object (File)
Sun, Mar 22, 5:53 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.

This revision is now accepted and ready to land.Feb 3 2020, 6:12 PM