* src/native/jni.c (jni_init_localref_table): New function.
authortwisti <none@none>
Thu, 5 Oct 2006 14:13:06 +0000 (14:13 +0000)
committertwisti <none@none>
Thu, 5 Oct 2006 14:13:06 +0000 (14:13 +0000)
commitf67d874c6653e0d742562c334aa2f135a31b1d1f
treec0ae52b5aba3054e88a972ae3c8770de69a46831
parent0885a0775128a10c590401fad4a816bdb18e14dc
* src/native/jni.c (jni_init_localref_table): New function.
(AttachCurrentThread): Implemented.
(JNI_CreateJavaVM): Use jni_init_localref_table.

* src/threads/native/threads.c (method_thread_init)
(method_threadgroup_add): New global variables.
(threads_init): Store methods resolved in global variables.
(threads_attach_current_thread): New function.

* src/threads/native/threads.h (MIN_PRIORITY, NORM_PRIORITY)
(MAX_PRIORITY): Defined.
(threads_attach_current_thread): New function.
src/native/jni.c
src/threads/native/threads.c
src/threads/native/threads.h