* src/vmcore/options.c (opt_verbosethreads): Added.
authortwisti <none@none>
Thu, 10 May 2007 14:04:05 +0000 (14:04 +0000)
committertwisti <none@none>
Thu, 10 May 2007 14:04:05 +0000 (14:04 +0000)
commitee95bba44481363b5698e34ef60652ebefd039d6
treebfda6adeb1fa3909568e0ad357e2eadac5b7368a
parentef2c1dd03d5bd7b81f6dd1ab8588ecefc9e840f8
* src/vmcore/options.c (opt_verbosethreads): Added.
* src/vmcore/options.h (opt_verbosethreads): Likewise.

* src/vm/vm.c (XXusage): Added -verbose:threads.
(vm_create): Likewise.

* src/threads/threads-common.c (threads_create_thread): Renamed
variable thread to t.
(threads_thread_print_info): New function.
(threads_dump): Use threads_thread_print_info.

* src/threads/threads-common.h (threads_thread_print_info): Added.

* src/threads/native/threads.c (threads_init) [!NDEBUG]: Added
-verbose:threads debug-output.
(threads_startup_thread): Likewise.
(threads_attach_current_thread): Likewise.
(threads_detach_thread): Likewise.
src/threads/native/threads.c
src/threads/threads-common.c
src/threads/threads-common.h
src/vm/vm.c
src/vmcore/options.c
src/vmcore/options.h