pthread: Add vprintf variant of _thread_printf, reformat PANIC()
authorzrj <rimvydas.jasinskas@gmail.com>
Fri, 16 Sep 2016 13:47:17 +0000 (16:47 +0300)
committerzrj <zrj@dragonflybsd.org>
Mon, 26 Sep 2016 07:46:54 +0000 (10:46 +0300)
commit4a9b8501b749f2d79486f387db2fc98a65681250
treeed129a69a16fba3f4694f665ad1bfef5888dfe40
parent6be5672c4fb0fffb7af4fd5f3ebfd39f1aded9bd
pthread: Add vprintf variant of _thread_printf, reformat PANIC()

Cleans up intermediate writes.

Taken-from: FreeBSD
lib/libthread_xu/thread/thr_exit.c
lib/libthread_xu/thread/thr_printf.c
lib/libthread_xu/thread/thr_private.h