harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r350181 [164/198] - in /incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core: ./ depends/ depends/files/ depends/jars/ depends/libs/ depends/libs/linux.IA32/ depends/libs/win.IA32/ depends/oss/ depends/oss/linux.IA32/ depends/oss/win....
Date Thu, 01 Dec 2005 06:04:00 GMT
Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/BidiWrapper.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/BidiWrapper.c?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/BidiWrapper.c
(added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/BidiWrapper.c
Wed Nov 30 21:29:27 2005
@@ -0,0 +1,182 @@
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <unicode/ubidi.h>
+
+#include "harmony.h"
+#include "BidiWrapper.h"
+
+void check_fail (JNIEnv * env, int err);
+
+JNIEXPORT jlong JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1open
+  (JNIEnv * env, jclass clazz)
+{
+  UBiDi *pBiDi = ubidi_open ();
+  return (jlong) ((IDATA) pBiDi);
+}
+
+JNIEXPORT void JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1close
+  (JNIEnv * env, jclass clazz, jlong pBiDi)
+{
+  ubidi_close ((UBiDi *) ((IDATA) pBiDi));
+}
+
+JNIEXPORT void JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1setPara
+  (JNIEnv * env, jclass clazz, jlong pBiDi, jcharArray text, jint length,
+   jbyte paraLevel, jbyteArray embeddingLevels)
+{
+  UErrorCode err = 0;
+  jchar *_text = NULL;
+  jbyte *_embeddingLevels = NULL;
+
+  _text = (*env)->GetCharArrayElements (env, text, NULL);
+
+  if (embeddingLevels != NULL)
+    {
+      _embeddingLevels =
+	(*env)->GetByteArrayElements (env, embeddingLevels, NULL);
+    }
+
+  ubidi_setPara ((UBiDi *) ((IDATA) pBiDi), _text, length, paraLevel,
+		 _embeddingLevels, &err);
+  check_fail (env, err);
+
+  (*env)->ReleaseCharArrayElements (env, text, _text, 0);
+  if (_embeddingLevels != NULL)
+    {
+      (*env)->ReleaseByteArrayElements (env, embeddingLevels,
+					_embeddingLevels, 0);
+    }
+}
+
+JNIEXPORT jlong JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1setLine
+  (JNIEnv * env, jclass clazz, jlong pParaBiDi, jint start, jint limit)
+{
+  UErrorCode err = 0;
+
+  UBiDi *pLineBiDi = ubidi_openSized (limit - start, 0, &err);
+  check_fail (env, err);
+
+  ubidi_setLine ((UBiDi *) ((IDATA) pParaBiDi), start, limit, pLineBiDi,
+		 &err);
+  check_fail (env, err);
+
+  return (jlong) ((IDATA) pLineBiDi);
+}
+
+JNIEXPORT jint JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getDirection
+  (JNIEnv * env, jclass clazz, jlong pBiDi)
+{
+  return ubidi_getDirection ((const UBiDi *) ((IDATA) pBiDi));
+}
+
+JNIEXPORT jint JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getLength
+  (JNIEnv * env, jclass clazz, jlong pBiDi)
+{
+  return ubidi_getLength ((const UBiDi *) ((IDATA) pBiDi));
+}
+
+JNIEXPORT jbyte JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getParaLevel
+  (JNIEnv * env, jclass clazz, jlong pBiDi)
+{
+  return ubidi_getParaLevel ((const UBiDi *) ((IDATA) pBiDi));
+}
+
+JNIEXPORT jbyteArray JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getLevels
+  (JNIEnv * env, jclass clazz, jlong pBiDi)
+{
+  UErrorCode err = 0;
+  const UBiDiLevel *levels = NULL;
+  jbyteArray result = NULL;
+  int len = 0;
+
+  levels = ubidi_getLevels ((UBiDi *) ((IDATA) pBiDi), &err);
+  check_fail (env, err);
+
+  len = ubidi_getLength ((const UBiDi *) ((IDATA) pBiDi));
+  result = (*env)->NewByteArray (env, len);
+  (*env)->SetByteArrayRegion (env, result, 0, len, (jbyte *) levels);
+
+  return result;
+}
+
+JNIEXPORT jint JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1countRuns
+  (JNIEnv * env, jclass clazz, jlong pBiDi)
+{
+  UErrorCode err = 0;
+
+  int count = ubidi_countRuns ((UBiDi *) ((IDATA) pBiDi), &err);
+  check_fail (env, err);
+
+  return count;
+}
+
+JNIEXPORT jobject JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getRun
+  (JNIEnv * env, jclass clazz, jlong pBiDi, jint index)
+{
+  int start = 0;
+  int length = 0;
+  UBiDiLevel level = 0;
+  jclass run_clazz = 0;
+  jmethodID initID = 0;
+  jobject run = 0;
+
+  ubidi_getVisualRun ((UBiDi *) ((IDATA) pBiDi), index, &start, &length);
+  ubidi_getLogicalRun ((const UBiDi *) ((IDATA) pBiDi), start, NULL, &level);
+
+  run_clazz = (*env)->FindClass (env, "com/ibm/text/BidiRun");
+  initID = (*env)->GetMethodID (env, run_clazz, "<init>", "(III)V");
+
+  run =
+    (*env)->NewObject (env, run_clazz, initID, start, start + length, level);
+
+  return run;
+}
+
+void
+check_fail (JNIEnv * env, int err)
+{
+  jclass exception;
+  char message[] = "ICU Internal Error:                     ";
+
+  if (U_FAILURE (err))
+    {
+      sprintf (message, "ICU Internal Error: %d", err);
+      exception = (*env)->FindClass (env, "java/lang/RuntimeException");
+      (*env)->ThrowNew (env, exception, message);
+    }
+}
+
+JNIEXPORT jintArray JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1reorderVisual
+  (JNIEnv * env, jclass clazz, jbyteArray levels, jint length)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  UBiDiLevel *local_levels = 0;
+  int *local_indexMap = 0;
+  jintArray result = 0;
+
+  local_indexMap = (int *) hymem_allocate_memory (sizeof (int) * length);
+  local_levels = (*env)->GetByteArrayElements (env, levels, NULL);
+
+  ubidi_reorderVisual (local_levels, length, local_indexMap);
+
+  result = (*env)->NewIntArray (env, length);
+  (*env)->SetIntArrayRegion (env, result, 0, length, (jint *) local_indexMap);
+
+  hymem_free_memory (local_indexMap);
+  (*env)->ReleaseByteArrayElements (env, levels, local_levels, 0);
+
+  return result;
+}

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/BidiWrapper.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/BidiWrapper.h?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/BidiWrapper.h
(added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/BidiWrapper.h
Wed Nov 30 21:29:27 2005
@@ -0,0 +1,130 @@
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <jni.h>
+/* Header for class com_ibm_text_BidiWrapper */
+
+#if !defined(_Included_com_ibm_text_BidiWrapper)
+#define _Included_com_ibm_text_BidiWrapper
+#if defined(__cplusplus)
+extern "C"
+{
+#endif
+#undef com_ibm_text_BidiWrapper_UBIDI_DEFAULT_LTR
+#define com_ibm_text_BidiWrapper_UBIDI_DEFAULT_LTR 254L
+#undef com_ibm_text_BidiWrapper_UBIDI_DEFAULT_RTL
+#define com_ibm_text_BidiWrapper_UBIDI_DEFAULT_RTL 255L
+#undef com_ibm_text_BidiWrapper_UBIDI_MAX_EXPLICIT_LEVEL
+#define com_ibm_text_BidiWrapper_UBIDI_MAX_EXPLICIT_LEVEL 61L
+#undef com_ibm_text_BidiWrapper_UBIDI_LEVEL_OVERRIDE
+#define com_ibm_text_BidiWrapper_UBIDI_LEVEL_OVERRIDE 128L
+#undef com_ibm_text_BidiWrapper_UBIDI_KEEP_BASE_COMBINING
+#define com_ibm_text_BidiWrapper_UBIDI_KEEP_BASE_COMBINING 1L
+#undef com_ibm_text_BidiWrapper_UBIDI_DO_MIRRORING
+#define com_ibm_text_BidiWrapper_UBIDI_DO_MIRRORING 2L
+#undef com_ibm_text_BidiWrapper_UBIDI_INSERT_LRM_FOR_NUMERIC
+#define com_ibm_text_BidiWrapper_UBIDI_INSERT_LRM_FOR_NUMERIC 4L
+#undef com_ibm_text_BidiWrapper_UBIDI_REMOVE_BIDI_CONTROLS
+#define com_ibm_text_BidiWrapper_UBIDI_REMOVE_BIDI_CONTROLS 8L
+#undef com_ibm_text_BidiWrapper_UBIDI_OUTPUT_REVERSE
+#define com_ibm_text_BidiWrapper_UBIDI_OUTPUT_REVERSE 16L
+#undef com_ibm_text_BidiWrapper_UBiDiDirection_UBIDI_LTR
+#define com_ibm_text_BidiWrapper_UBiDiDirection_UBIDI_LTR 0L
+#undef com_ibm_text_BidiWrapper_UBiDiDirection_UBIDI_RTL
+#define com_ibm_text_BidiWrapper_UBiDiDirection_UBIDI_RTL 1L
+#undef com_ibm_text_BidiWrapper_UBiDiDirection_UBIDI_MIXED
+#define com_ibm_text_BidiWrapper_UBiDiDirection_UBIDI_MIXED 2L
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_open
+ * Signature: ()J
+ */
+  JNIEXPORT jlong JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1open
+    (JNIEnv *, jclass);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_close
+ * Signature: (J)V
+ */
+  JNIEXPORT void JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1close
+    (JNIEnv *, jclass, jlong);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_setPara
+ * Signature: (J[CIB[B)V
+ */
+  JNIEXPORT void JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1setPara
+    (JNIEnv *, jclass, jlong, jcharArray, jint, jbyte, jbyteArray);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_setLine
+ * Signature: (JII)J
+ */
+  JNIEXPORT jlong JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1setLine
+    (JNIEnv *, jclass, jlong, jint, jint);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_getDirection
+ * Signature: (J)I
+ */
+  JNIEXPORT jint JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getDirection
+    (JNIEnv *, jclass, jlong);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_getLength
+ * Signature: (J)I
+ */
+  JNIEXPORT jint JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getLength
+    (JNIEnv *, jclass, jlong);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_getParaLevel
+ * Signature: (J)B
+ */
+  JNIEXPORT jbyte JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getParaLevel
+    (JNIEnv *, jclass, jlong);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_getLevels
+ * Signature: (J)[B
+ */
+  JNIEXPORT jbyteArray JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getLevels
+    (JNIEnv *, jclass, jlong);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_countRuns
+ * Signature: (J)I
+ */
+  JNIEXPORT jint JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1countRuns
+    (JNIEnv *, jclass, jlong);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_getRun
+ * Signature: (JI)Lcom/ibm/text/BidiRun;
+ */
+  JNIEXPORT jobject JNICALL Java_com_ibm_text_BidiWrapper_ubidi_1getRun
+    (JNIEnv *, jclass, jlong, jint);
+/*
+ * Class:     com_ibm_text_BidiWrapper
+ * Method:    ubidi_reorderVisual
+ * Signature: ([BI)[I
+ */
+  JNIEXPORT jintArray JNICALL
+    Java_com_ibm_text_BidiWrapper_ubidi_1reorderVisual (JNIEnv *, jclass,
+                                                        jbyteArray, jint);
+#if defined(__cplusplus)
+}
+#endif
+#endif

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/hytext.exp
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/hytext.exp?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/hytext.exp
(added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/hytext.exp
Wed Nov 30 21:29:27 2005
@@ -0,0 +1,15 @@
+HYTEXT_0.1 {
+	global :		
+		Java_com_ibm_text_BidiWrapper_ubidi_1close;
+		Java_com_ibm_text_BidiWrapper_ubidi_1countRuns;
+		Java_com_ibm_text_BidiWrapper_ubidi_1getDirection;
+		Java_com_ibm_text_BidiWrapper_ubidi_1getLength;
+		Java_com_ibm_text_BidiWrapper_ubidi_1getLevels;
+		Java_com_ibm_text_BidiWrapper_ubidi_1getParaLevel;
+		Java_com_ibm_text_BidiWrapper_ubidi_1getRun;
+		Java_com_ibm_text_BidiWrapper_ubidi_1open;
+		Java_com_ibm_text_BidiWrapper_ubidi_1reorderVisual;
+		Java_com_ibm_text_BidiWrapper_ubidi_1setLine;
+		Java_com_ibm_text_BidiWrapper_ubidi_1setPara;
+	local : *;
+};

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/makefile
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/makefile?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/makefile
(added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/makefile
Wed Nov 30 21:29:27 2005
@@ -0,0 +1,71 @@
+# Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# Makefile for module 'text'
+#
+
+include ../makefile.include
+
+DLLFILENAME=libhytext.so# declaration
+
+DLLNAME=../libhytext.so# declaration
+
+LIBNAME=hytext# declaration
+
+LIBPATH=../lib/# declaration
+
+CFLAGS=-fpic -O1 -march=pentium3 -DLINUX -D_REENTRANT -DIPv6_FUNCTION_SUPPORT -DHYX86  -I../include
-I../text -I../zlib -I../zip -I../fdlibm  $(VMDEBUG)
+
+.SUFFIXES:.cpp
+.cpp.o:
+	$(CXX) -fpic -O1 -march=pentium3 -fno-exceptions -fno-rtti -DLINUX -D_REENTRANT -DIPv6_FUNCTION_SUPPORT
-DHYX86  -I../include -I../text -I../zlib -I../zip -I../fdlibm  $(VMDEBUG) -c $<
+
+ASFLAGS= -o $@
+
+.SUFFIXES:.asm
+.asm.o:
+	perl ../masm2gas/masm2gas.pl   -I../include -I../text -I../zlib -I../zip -I../fdlibm $*.asm
+	$(AS) $(ASFLAGS) -o $*.o $*.s
+	-rm $*.s
+
+BUILDFILES1 = text_copyright.o 
+BUILDFILES2 = BidiWrapper.o
+
+MDLLIBFILES1 = ../libhysig.so ../lib/libhyzip.a ../libhyzlib.so ../lib/libhycommon.a ../lib/libhypool.a
+MDLLIBFILES2 = ../lib/libhyfdlibm.a ../libhythr.so ../libvmi.so
+
+all: \
+	 $(DLLNAME)
+
+BUILDLIB: $(DLLNAME)
+
+$(DLLNAME):\
+	$(BUILDFILES1) $(BUILDFILES2) \
+	$(MDLLIBFILES1) $(MDLLIBFILES2) 
+	 $(DLL_LD) -shared -Wl,--version-script,$(LIBNAME).exp -Wl,-soname=$(DLLFILENAME) $(VMLINK)
-L.  -L../lib -L.. -o $(DLLNAME) \
+	$(BUILDFILES1) $(BUILDFILES2) -Xlinker --start-group \
+    libicuuc.so.34 \
+	-lhysig \
+	-lhyzip \
+	-lhyzlib \
+	-lhycommon \
+	-lhypool \
+	-lhyfdlibm \
+	-lhythr \
+	-lvmi -Xlinker --end-group  -lc -lm -ldl
+
+clean:
+	-rm -f *.o
+	-rm -f ../libhytext.so

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/text_copyright.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/text_copyright.c?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/text_copyright.c
(added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/text/text_copyright.c
Wed Nov 30 21:29:27 2005
@@ -0,0 +1,19 @@
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* A copyright string included in each DLL and executable */
+
+const char hyCopyright[] =
+  "(c) Copyright 2005 The Apache Software Foundation or its licensors, as applicable.";

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/thread/DoxygenSupport.txt
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/thread/DoxygenSupport.txt?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/thread/DoxygenSupport.txt
(added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/thread/DoxygenSupport.txt
Wed Nov 30 21:29:27 2005
@@ -0,0 +1,32 @@
+# Copyright 2004 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+/*
+ * This file provides the group definitions required to create the Doxygen generated
+ * output for compounds.  There is one group per directory (port, pool, thread, etc.).
+ */
+ 
+/**
+ * @defgroup Thread Thread
+ * @brief Threading and Synchronization Library API.
+ * 
+ * The threading and synchronization API describes a programmatic interface for the 
+ * generic management and use of basic threading and synchronization functionality 
+ * common to most operating systems. In implementation, it will usually be a thin 
+ * abstraction layer atop already-provided operating system support for these 
+ * features. It is in many ways analagous to a subset of the pthreads library. 
+ * 
+ */
+
+

Added: incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/thread/hythr.exp
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/thread/hythr.exp?rev=350181&view=auto
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/thread/hythr.exp
(added)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/ibm_core/native-src/linux.IA32/thread/hythr.exp
Wed Nov 30 21:29:27 2005
@@ -0,0 +1,81 @@
+HYTHR_0.1 {
+	global :
+		hythread_current_stack_free;
+		hythread_attach;
+		hythread_create;
+		hythread_cancel;
+		hythread_interrupt;
+		hythread_clear_interrupted;
+		hythread_interrupted;
+		hythread_priority_interrupt;
+		hythread_clear_priority_interrupted;
+		hythread_priority_interrupted;
+		hythread_monitor_destroy;
+		hythread_monitor_enter;
+		hythread_monitor_get_name;
+		hythread_monitor_enter_using_threadId;
+		hythread_monitor_try_enter;
+		hythread_monitor_try_enter_using_threadId;
+		hythread_monitor_exit;
+		hythread_monitor_exit_using_threadId;
+		hythread_monitor_init;
+		hythread_monitor_init_with_name;
+		hythread_monitor_notify;
+		hythread_monitor_notify_all;
+		hythread_monitor_wait;
+		hythread_monitor_wait_timed;
+		hythread_monitor_wait_interruptable;
+		hythread_monitor_num_waiting;
+		hythread_resume;
+		hythread_self;
+		hythread_set_priority;
+		hythread_get_priority;
+		hythread_sleep;
+		hythread_sleep_interruptable;
+		hythread_suspend;
+		hythread_tls_alloc;
+		hythread_tls_alloc_with_finalizer;
+		hythread_tls_free;
+		hythread_tls_get;
+		hythread_tls_set;
+		hythread_yield;
+		hythread_exit;
+		hythread_detach;
+		hythread_global;
+		hythread_get_flags;
+		hythread_monitor_walk;
+		hythread_lib_lock;
+		hythread_lib_unlock;
+		hythread_rwmutex_init;
+		hythread_rwmutex_destroy;
+		hythread_rwmutex_enter_read;
+		hythread_rwmutex_exit_read;
+		hythread_rwmutex_enter_write;
+		hythread_rwmutex_exit_write;
+		hythread_park;
+		hythread_unpark;
+		hythread_monitor_lock;
+		hythread_monitor_unlock;
+		hythread_monitor_pin;
+		hythread_monitor_unpin;
+		hythread_lib_get_flags;
+		hythread_lib_set_flags;
+		hythread_lib_clear_flags;
+		hythread_jlm_monitor_init;
+		hythread_jlm_thread_init;
+		hythread_jlm_gc_lock_init;
+		hythread_jlm_get_gc_lock_tracing;
+		hythread_monitor_get_tracing;
+		hythread_get_user_time;
+		hythread_get_cpu_time;
+		hythread_get_handle;
+		hythread_get_stack_size;
+		hythread_get_os_priority;
+		hythread_get_stack_usage;
+		hythread_enable_stack_usage;
+		hysem_init;
+		hysem_post;
+		hysem_wait;
+		hysem_destroy;
+	local : *;
+};



Mime
View raw message