harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r660987 - in /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/zos: ./ OSResourcesMonitor.c
Date Wed, 28 May 2008 15:47:35 GMT
Author: odeakin
Date: Wed May 28 08:47:35 2008
New Revision: 660987

URL: http://svn.apache.org/viewvc?rev=660987&view=rev
Log:
Add OSResourcesMonitor.c stub implementation for z/OS.

Added:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/zos/
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/zos/OSResourcesMonitor.c
  (with props)

Added: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/zos/OSResourcesMonitor.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/zos/OSResourcesMonitor.c?rev=660987&view=auto
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/zos/OSResourcesMonitor.c
(added)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/zos/OSResourcesMonitor.c
Wed May 28 08:47:35 2008
@@ -0,0 +1,35 @@
+/*
+ *  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)
+{
+    /* TODO: implement for z/OS */
+    return FALSE;	
+}
+ 

Propchange: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/zos/OSResourcesMonitor.c
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message