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)
Sun, Sep 21, 2:13 PM
Unknown Object (File)
Jun 24 2025, 1:27 PM
Unknown Object (File)
Jun 22 2025, 8:51 AM
Unknown Object (File)
Jun 20 2025, 9:00 PM
Unknown Object (File)
Jun 13 2025, 3:06 AM
Unknown Object (File)
Jun 13 2025, 2:50 AM
Unknown Object (File)
Jun 12 2025, 3:02 AM
Unknown Object (File)
Jun 7 2025, 10:16 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.