From d486ffdae0d5ee0db47984c3a1cd7776f3e64788 Mon Sep 17 00:00:00 2001 From: Salikh Zakirov Date: Mon, 12 Mar 2007 18:00:12 +0300 Subject: [PATCH] Introduce OS layer for thread functions instead of APR --- build/make/components/vm/hythr.xml | 6 + vm/thread/src/linux/os_thread.c | 190 ++++++++++++++++++++++++++++ vm/thread/src/thread_native_attrs.c | 8 +- vm/thread/src/thread_native_basic.c | 61 +++------- vm/thread/src/thread_native_suspend.c | 2 +- vm/thread/src/thread_native_thin_monitor.c | 2 +- vm/thread/src/thread_private.h | 21 +++- vm/thread/src/win/os_thread.c | 155 +++++++++++++++++++++++ 8 files changed, 393 insertions(+), 52 deletions(-) create mode 100644 vm/thread/src/linux/os_thread.c create mode 100644 vm/thread/src/win/os_thread.c diff --git a/build/make/components/vm/hythr.xml b/build/make/components/vm/hythr.xml index 774a1bf..8c4467d 100644 --- a/build/make/components/vm/hythr.xml +++ b/build/make/components/vm/hythr.xml @@ -46,6 +46,12 @@ Version: $Revision: 1.4.2.4 $ + +