Page MenuHomeFreeBSD

libthr: Enhance PANIC() to format messages
ClosedPublic

Authored by cem on Jun 1 2016, 6:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 8 2024, 4:09 AM
Unknown Object (File)
Jan 31 2024, 2:56 PM
Unknown Object (File)
Dec 20 2023, 12:17 AM
Unknown Object (File)
Dec 8 2023, 1:19 PM
Unknown Object (File)
Nov 13 2023, 1:09 PM
Unknown Object (File)
Nov 9 2023, 9:26 AM
Unknown Object (File)
Oct 19 2023, 7:15 PM
Unknown Object (File)
Oct 19 2023, 4:17 PM
Subscribers

Details

Summary

libthr: Add vprintf variant of _thread_printf, formatted PANIC()

libthr: _thread_vprintf: Enhance support for %p, %#x

libthr: Use formatted PANIC()

Diff Detail

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

Event Timeline

cem retitled this revision from to libthr: Enhance PANIC() to format messages.
cem updated this object.
cem edited the test plan for this revision. (Show Details)
cem added a reviewer: kib.
kib edited edge metadata.
kib added inline comments.
lib/libthr/thread/thr_exit.c
184 ↗(On Diff #17174)

Replace '2' by 'STDERR_FILENO', since the line is modified anyway.

This revision is now accepted and ready to land.Jun 1 2016, 1:59 PM
cem edited edge metadata.

Use STDERR_FILENO instead of 2.

This revision now requires review to proceed.Jun 1 2016, 2:56 PM
kib edited edge metadata.
This revision is now accepted and ready to land.Jun 1 2016, 3:09 PM
This revision was automatically updated to reflect the committed changes.
cem marked an inline comment as done.