You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2009/01/07 10:41:07 UTC
svn commit: r732287 - in
/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/aix:
./ OSResourcesMonitor.c
Author: hindessm
Date: Wed Jan 7 01:41:06 2009
New Revision: 732287
URL: http://svn.apache.org/viewvc?rev=732287&view=rev
Log:
Minimal stub for Aix (or indeed any port).
Added:
harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/aix/
harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/aix/OSResourcesMonitor.c (with props)
Added: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/aix/OSResourcesMonitor.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/aix/OSResourcesMonitor.c?rev=732287&view=auto
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/aix/OSResourcesMonitor.c (added)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/aix/OSResourcesMonitor.c Wed Jan 7 01:41:06 2009
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ * Utilities to monitor system resources.
+ */
+#include <hyport.h>
+#include "OSResourcesMonitor.h"
+
+/*
+ * Class: org_apache_harmony_luni_platform_OSResourcesMonitor
+ * Method: isSystemPhysicalMemoryLow
+ * Signature: ()Z
+ */
+JNIEXPORT jboolean JNICALL Java_org_apache_harmony_luni_platform_OSResourcesMonitor_isSystemPhysicalMemoryLow
+ (JNIEnv *env, jclass thizClass)
+{
+ return FALSE;
+}
Propchange: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/aix/OSResourcesMonitor.c
------------------------------------------------------------------------------
svn:eol-style = native