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)
Sat, May 16, 11:15 AM
Unknown Object (File)
Sat, May 2, 11:33 PM
Unknown Object (File)
Thu, Apr 30, 5:06 PM
Unknown Object (File)
Thu, Apr 30, 5:01 PM
Unknown Object (File)
Thu, Apr 30, 4:55 PM
Unknown Object (File)
Tue, Apr 28, 8:28 PM
Unknown Object (File)
Tue, Apr 28, 8:25 PM
Unknown Object (File)
Mon, Apr 27, 2:33 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.