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
Unknown Object (File)
Sat, May 31, 5:50 PM
Unknown Object (File)
Wed, May 21, 11:19 AM
Unknown Object (File)
Wed, May 21, 10:01 AM
Unknown Object (File)
Mon, May 19, 6:22 PM
Unknown Object (File)
Apr 30 2025, 4:23 PM
Unknown Object (File)
Apr 25 2025, 2:03 AM
Unknown Object (File)
Apr 20 2025, 12:36 AM
Unknown Object (File)
Apr 16 2025, 7:23 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