* src/threads/thread.c (thread_create_object): New function.
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Tue, 1 Apr 2008 11:49:45 +0000 (13:49 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Tue, 1 Apr 2008 11:49:45 +0000 (13:49 +0200)
commitd5a09c0b2d1e8a958398ac86b83559f481f96db4
tree314830049f4c5eccacb876c7c9d5a39301fef5ac
parent2c25f2eeec3b0fb59c014317b002721470fcab09
* src/threads/thread.c (thread_create_object): New function.
(thread_method_init): Made static.
(threadgroup_system, threadgroup_main): Changed type to java_handle_t.
(thread_create_initial_threadgroup): Chnaged type of
threadgroup_system and threadgroup_main.
(thread_create_initial_thread): Use thread_create_object.
(threads_thread_start_internal): Likewise.
(threads_attach_current_thread): Likewise.
(threads_thread_print_info): Use thread_is_daemon.
* src/threads/thread.h (thread_method_init): Removed.
(thread_is_daemon): New function.
* src/threads/threadlist.c (threadlist_get_non_daemons): Use
thread_is_daemon.
src/threads/thread.c
src/threads/thread.h
src/threads/threadlist.c