* src/threads/native/threads.h (threads_sem_init): New function.
authoredwin <none@none>
Mon, 1 May 2006 21:40:38 +0000 (21:40 +0000)
committeredwin <none@none>
Mon, 1 May 2006 21:40:38 +0000 (21:40 +0000)
commit7d96e2b4771ff686591897b11d55fc3c484b6a55
tree5d957de8e3ab33811c890a80a00e653cf0d2d8f0
parent294f005fbf3dca500e5af8fbd2e887b71ea6d029
* src/threads/native/threads.h (threads_sem_init): New function.
(threads_sem_post): New function.

* src/threads/native/threads.c (threads_sem_init): New function.
(threads_sem_wait): Added assertion.
(threads_sem_post): New function.
(various function): Use threads_sem_init and threads_sem_post.

* src/native/jvmti/cacaodbg.c (getworkingdatalock): Use threads_sem_post.
(cacaodbgfork): Use threads_sem_init.

* src/native/jvmti/cacaodbgserver.c (contchild, waitloop).
Use threads_sem_post.
src/native/jvmti/cacaodbg.c
src/native/jvmti/cacaodbgserver.c
src/threads/native/threads.c
src/threads/native/threads.h