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)
Wed, Oct 29, 11:41 PM
Unknown Object (File)
Wed, Oct 29, 10:42 PM
Unknown Object (File)
Tue, Oct 28, 1:16 AM
Unknown Object (File)
Tue, Oct 21, 7:55 PM
Unknown Object (File)
Tue, Oct 21, 7:27 PM
Unknown Object (File)
Tue, Oct 21, 7:19 PM
Unknown Object (File)
Tue, Oct 21, 6:41 PM
Unknown Object (File)
Tue, Oct 21, 7:32 AM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 4070
Build 4113: arc lint + arc unit

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

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.