git: kern: Clean up kern_sigtimedwait()
Aaron LI
aly at crater.dragonflybsd.org
Sat Jan 24 04:37:02 PST 2026
commit 98ae6b88b4e7f1c53f4cceb76918f75826c05932
Author: Aaron LI <aly at aaronly.me>
Date: Fri Apr 4 16:46:23 2025 +0800
kern: Clean up kern_sigtimedwait()
- Use tstohz_high() instead of tvtohz_high() and thus remove the
timespec->timeval conversion.
- Use timespecclear() to reset the 'ets' timespec.
- Use bool for 'timevalid' for better clarity.
- Minor style tweaks.
Summary of changes:
sys/kern/kern_sig.c | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/98ae6b88b4e7f1c53f4cceb76918f75826c05932
--
DragonFly BSD source repository
More information about the Commits
mailing list