Added: harmony/standard/site/docs/externals/vm_doc/html/group__Thread.html URL: http://svn.apache.org/viewvc/harmony/standard/site/docs/externals/vm_doc/html/group__Thread.html?rev=724734&view=auto ============================================================================== --- harmony/standard/site/docs/externals/vm_doc/html/group__Thread.html (added) +++ harmony/standard/site/docs/externals/vm_doc/html/group__Thread.html Tue Dec 9 07:03:45 2008 @@ -0,0 +1,41 @@ + + +Harmony Class Library Porting: Thread + + + + +
+ +
+

Thread


Detailed Description

+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. +

+ + + + + + + +

+

+ +

Files

file  hythread.c
 Threading and synchronization support.
file  hythreadinspect.c
+


+
+ +

Genereated on Tue Dec 9 14:13:00 2008 by Doxygen.

+

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.

+
+
+ + Propchange: harmony/standard/site/docs/externals/vm_doc/html/group__Thread.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/standard/site/docs/externals/vm_doc/html/group__VMInterface.html URL: http://svn.apache.org/viewvc/harmony/standard/site/docs/externals/vm_doc/html/group__VMInterface.html?rev=724734&view=auto ============================================================================== --- harmony/standard/site/docs/externals/vm_doc/html/group__VMInterface.html (added) +++ harmony/standard/site/docs/externals/vm_doc/html/group__VMInterface.html Tue Dec 9 07:03:45 2008 @@ -0,0 +1,40 @@ + + +Harmony Class Library Porting: VM Interface + + + + +
+ +
+

VM Interface


Detailed Description

+The C VM Interface between Harmony natives and the Java VM. +

+The VM Interface must be implemented by the JVM vendor to support the Harmony class library natives. The VM vendor must export the following functions from the VM-Interface shared library. The JVM vendor is free to add additional exports to this library for initialization purposes.

+The current implementation contains several temporary functions that will be removed in an upcoming revision. The implementation of these temporary functions is trivial and described in the individual function comments. +

+ + + + + + + +

+


Files

file  vmi.h
 VM interface specification.
+


+
+ +

Genereated on Tue Dec 9 14:13:00 2008 by Doxygen.

+

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.

+
+
+ + Propchange: harmony/standard/site/docs/externals/vm_doc/html/group__VMInterface.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/standard/site/docs/externals/vm_doc/html/group__ZipSupport.html URL: http://svn.apache.org/viewvc/harmony/standard/site/docs/externals/vm_doc/html/group__ZipSupport.html?rev=724734&view=auto ============================================================================== --- harmony/standard/site/docs/externals/vm_doc/html/group__ZipSupport.html (added) +++ harmony/standard/site/docs/externals/vm_doc/html/group__ZipSupport.html Tue Dec 9 07:03:45 2008 @@ -0,0 +1,49 @@ + + +Harmony Class Library Porting: Zip Support + + + + +
+ +
+

Zip Support


Detailed Description

+Zip file support for the Java VM. +

+ +

+ + + + + + + +

+

+ + + +

+

+ + + +

+


Files

file  zcpool.c
 Zip Support for Java VM.
file  zipcache.c
 Zip Support for VM.
file  zipsup.c
 Zip Support for Java VM.
+


+
+ +

Genereated on Tue Dec 9 14:13:00 2008 by Doxygen.

+

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.

+
+
+ + Propchange: harmony/standard/site/docs/externals/vm_doc/html/group__ZipSupport.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/standard/site/docs/externals/vm_doc/html/hycpu_8c.html URL: http://svn.apache.org/viewvc/harmony/standard/site/docs/externals/vm_doc/html/hycpu_8c.html?rev=724734&view=auto ============================================================================== --- harmony/standard/site/docs/externals/vm_doc/html/hycpu_8c.html (added) +++ harmony/standard/site/docs/externals/vm_doc/html/hycpu_8c.html Tue Dec 9 07:03:45 2008 @@ -0,0 +1,153 @@ + + +Harmony Class Library Porting: modules/portlib/src/main/native/port/windows/hycpu.c File Reference + + + + +
+ +
+

modules/portlib/src/main/native/port/windows/hycpu.c File Reference


Detailed Description

+CPU Control. +

+Functions setting CPU attributes. +

+#include <windows.h>
+#include "hyport.h"
+ + + + + + + + + + + + +

Functions

I_32 VMCALL hycpu_startup (struct HyPortLibrary *portLibrary)
 PortLibrary startup.
void VMCALL hycpu_shutdown (struct HyPortLibrary *portLibrary)
 PortLibrary shutdown.
void VMCALL hycpu_flush_icache (struct HyPortLibrary *portLibrary, void *memoryPointer, UDATA byteAmount)
 CPU Control operations.
+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VMCALL hycpu_flush_icache (struct HyPortLibrary portLibrary,
void *  memoryPointer,
UDATA  byteAmount 
)
+
+
+ +

+CPU Control operations. +

+Flush the instruction cache to memory.

+

Parameters:
+ + + + +
[in] portLibrary The port library
[in] memoryPointer The base address of memory to flush.
[in] byteAmount Number of bytes to flush.
+
+ +
+

+ +

+
+ + + + + + + + + +
void VMCALL hycpu_shutdown (struct HyPortLibrary portLibrary  ) 
+
+
+ +

+PortLibrary shutdown. +

+This function is called during shutdown of the portLibrary. Any resources that were created by hycpu_startup should be destroyed here.

+

Parameters:
+ + +
[in] portLibrary The port library
+
+
Note:
Most implementations will be empty.
+ +
+

+ +

+
+ + + + + + + + + +
I_32 VMCALL hycpu_startup (struct HyPortLibrary portLibrary  ) 
+
+
+ +

+PortLibrary startup. +

+This function is called during startup of the portLibrary. Any resources that are required for the exit operations may be created here. All resources created here should be destroyed in hycpu_shutdown.

+

Parameters:
+ + +
[in] portLibrary The port library
+
+
Returns:
0 on success, negative error code on failure. Error code values returned are
    +
  • HYPORT_ERROR_STARTUP_CPU
  • +
+
+
Note:
Most implementations will simply return success.
+ +
+

+


+
+ +

Genereated on Tue Dec 9 14:12:59 2008 by Doxygen.

+

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.

+
+
+ + Propchange: harmony/standard/site/docs/externals/vm_doc/html/hycpu_8c.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/standard/site/docs/externals/vm_doc/html/hydoxygen.css URL: http://svn.apache.org/viewvc/harmony/standard/site/docs/externals/vm_doc/html/hydoxygen.css?rev=724734&view=auto ============================================================================== --- harmony/standard/site/docs/externals/vm_doc/html/hydoxygen.css (added) +++ harmony/standard/site/docs/externals/vm_doc/html/hydoxygen.css Tue Dec 9 07:03:45 2008 @@ -0,0 +1,358 @@ +BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { + font-family: Geneva, Arial, Helvetica, sans-serif; +} +BODY,TD { + font-size: 90%; +} +H1 { + text-align: center; + font-size: 160%; +} +H2 { + font-size: 120%; +} +H3 { + font-size: 100%; +} +CAPTION { font-weight: bold;} +DIV.qindex { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.nav { + width: 100%; + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; + line-height: 140%; +} +DIV.navtab { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +TD.navtab { + font-size: 70%; +} +A.qindex { + text-decoration: none; + font-weight: bold; + color: #1A419D; +} +A.qindex:visited { + text-decoration: none; + font-weight: bold; + color: #1A419D +} +A.qindex:hover { + text-decoration: none; + background-color: #ddddff; +} +A.qindexHL { + text-decoration: none; + font-weight: bold; + background-color: #6666cc; + color: #ffffff; + border: 1px double #9295C2; +} +A.qindexHL:hover { + text-decoration: none; + background-color: #6666cc; + color: #ffffff; +} +A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff;} +A.el { text-decoration: none; font-weight: bold;} +A.elRef { font-weight: bold } +A.code:link { text-decoration: none; font-weight: normal; color: #0000FF;} +A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF;} +A.codeRef:link { font-weight: normal; color: #0000FF;} +A.codeRef:visited { font-weight: normal; color: #0000FF;} +A:hover { text-decoration: none; background-color: #f2f2ff; } +DL.el { margin-left: -1cm; } +.fragment { + font-family: monospace, fixed; + font-size: 95%; +} +PRE.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + margin-top: 4px; + margin-bottom: 4px; + margin-left: 2px; + margin-right: 8px; + padding-left: 6px; + padding-right: 6px; + padding-top: 4px; + padding-bottom: 4px; +} +DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px ;} + +DIV.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} +DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } +BODY { + background: white; + color: black; + margin-right: 20px; + margin-left: 20px; +} +TD.indexkey { + background-color: #e8eef2; + font-weight: bold; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TD.indexvalue { + background-color: #e8eef2; + font-style: italic; + padding-right : 10px; + padding-top : 2px; + padding-left : 10px; + padding-bottom : 2px; + margin-left : 0px; + margin-right : 0px; + margin-top : 2px; + margin-bottom : 2px; + border: 1px solid #CCCCCC; +} +TR.memlist { + background-color: #f0f0f0; +} +P.formulaDsp { text-align: center; } +IMG.formulaDsp { } +IMG.formulaInl { vertical-align: middle; } +SPAN.keyword { color: #008000 ;} +SPAN.keywordtype { color: #604020 ;} +SPAN.keywordflow { color: #e08000 ;} +SPAN.comment { color: #800000 ;} +SPAN.preprocessor { color: #806020 ;} +SPAN.stringliteral { color: #002080 ;} +SPAN.charliteral { color: #008080 ;} +.mdescLeft { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.mdescRight { + padding: 0px 8px 4px 8px; + font-size: 80%; + font-style: italic; + background-color: #FAFAFA; + border-top: 1px none #E0E0E0; + border-right: 1px none #E0E0E0; + border-bottom: 1px none #E0E0E0; + border-left: 1px none #E0E0E0; + margin: 0px; +} +.memItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemLeft { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplItemRight { + padding: 1px 8px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: none; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + background-color: #FAFAFA; + font-size: 80%; +} +.memTemplParams { + padding: 1px 0px 0px 8px; + margin: 4px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-color: #E0E0E0; + border-right-color: #E0E0E0; + border-bottom-color: #E0E0E0; + border-left-color: #E0E0E0; + border-top-style: solid; + border-right-style: none; + border-bottom-style: none; + border-left-style: none; + color: #606060; + background-color: #FAFAFA; + font-size: 80%; +} +.search { color: #003399; + font-weight: bold; +} +FORM.search { + margin-bottom: 0px; + margin-top: 0px; +} +INPUT.search { font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +TD.tiny { font-size: 75%; +} +a { + color: #1A41A8; +} +a:visited { + color: #2A3798; +} +.dirtab { padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; +} +TH.dirtab { background: #e8eef2; + font-weight: bold; +} +HR { height: 1px; + border: none; + border-top: 1px solid black; +} + +/* Style for detailed member documentation */ +.memtemplate { + font-size: 80%; + color: #606060; + font-weight: normal; +} +.memnav { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} +.memitem { + padding: 4px; + background-color: #eef3f5; + border-width: 1px; + border-style: solid; + border-color: #dedeee; + -moz-border-radius: 8px 8px 8px 8px; +} +.memname { + white-space: nowrap; + font-weight: bold; +} +.memdoc{ + padding-left: 10px; +} +.memproto { + background-color: #d5e1e8; + width: 100%; + border-width: 1px; + border-style: solid; + border-color: #84b0c7; + font-weight: bold; + -moz-border-radius: 8px 8px 8px 8px; +} +.paramkey { + text-align: right; +} +.paramtype { + white-space: nowrap; +} +.paramname { + color: #602020; + font-style: italic; + white-space: nowrap; +} +/* End Styling for detailed member documentation */ + +/* for the tree view */ +.ftvtree { + font-family: sans-serif; + margin:0.5em; +} +.directory { font-size: 9pt; font-weight: bold; } +.directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } +.directory > h3 { margin-top: 0; } +.directory p { margin: 0px; white-space: nowrap; } +.directory div { display: none; margin: 0px; } +.directory img { vertical-align: -30%; } Propchange: harmony/standard/site/docs/externals/vm_doc/html/hydoxygen.css ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/standard/site/docs/externals/vm_doc/html/hyerror_8c.html URL: http://svn.apache.org/viewvc/harmony/standard/site/docs/externals/vm_doc/html/hyerror_8c.html?rev=724734&view=auto ============================================================================== --- harmony/standard/site/docs/externals/vm_doc/html/hyerror_8c.html (added) +++ harmony/standard/site/docs/externals/vm_doc/html/hyerror_8c.html Tue Dec 9 07:03:45 2008 @@ -0,0 +1,278 @@ + + +Harmony Class Library Porting: modules/portlib/src/main/native/port/shared/hyerror.c File Reference + + + + +
+ +
+

modules/portlib/src/main/native/port/shared/hyerror.c File Reference


Detailed Description

+Error Handling. +

+If an OS system call fails the error code reported by the OS needs to be saved for future reference. The OS error code as well as the corresponding portable error code are stored in the per thread buffers hyportptb.h via a call the hyerror_set_last_error or hyerror_set_last_error_with_message. These functions are meant for private use by the port library, to set the error related to a system call failure. They are in the port library table as people overriding port library functions may need to set the error message accordingly.

+The majority of applications are not interested in the human readable error message corresponding to the error. As a result the error message is not stored at time of the reported error, but can be looked up at a later time. +

+#include <stdlib.h>
+#include <string.h>
+#include "portpriv.h"
+#include "portnls.h"
+#include "hyportptb.h"
+ + + + + + + + + + + + + + + + + + + + + +

Functions

I_32 VMCALL hyerror_startup (struct HyPortLibrary *portLibrary)
 PortLibrary startup.
void VMCALL hyerror_shutdown (struct HyPortLibrary *portLibrary)
 PortLibrary shutdown.
const char *VMCALL hyerror_last_error_message (struct HyPortLibrary *portLibrary)
 Error Handling.
I_32 VMCALL hyerror_last_error_number (struct HyPortLibrary *portLibrary)
 Error Handling.
I_32 VMCALL hyerror_set_last_error (struct HyPortLibrary *portLibrary, I_32 platformCode, I_32 portableCode)
 Error Handling.
I_32 VMCALL hyerror_set_last_error_with_message (struct HyPortLibrary *portLibrary, I_32 portableCode, const char *errorMessage)
 Error Handling.
+


Function Documentation

+ +
+
+ + + + + + + + + +
const char* VMCALL hyerror_last_error_message (struct HyPortLibrary portLibrary  ) 
+
+
+ +

+Error Handling. +

+Return the error message as reported by the OS for the last saved error. If no error has been saved then an empty message is returned.

+

Parameters:
+ + +
[in] portLibrary The port library
+
+
Returns:
The error message for the last OS failure, empty message on failure.
+ +
+

+ +

+
+ + + + + + + + + +
I_32 VMCALL hyerror_last_error_number (struct HyPortLibrary portLibrary  ) 
+
+
+ +

+Error Handling. +

+Look up the reason for the last stored failure. If no error code has been stored then failure is returned.

+

Parameters:
+ + +
[in] portLibrary The port library
+
+
Returns:
The negative portable error code on success, 0 on failure.
+
Note:
Does not clear the reason for the last failure.
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
I_32 VMCALL hyerror_set_last_error (struct HyPortLibrary portLibrary,
I_32  platformCode,
I_32  portableCode 
)
+
+
+ +

+Error Handling. +

+Save the platform specific error code and the portable error code for future reference. Once stored an application may obtain the error message describing the last stored error by calling hyerror_last_error_message. Likewise the last portable error code can be obtained by calling hyerror_last_error_number.

+

Parameters:
+ + + + +
[in] portLibrary The port library
[in] platformCode The error code reported by the OS
[in] portableCode The corresponding portable error code as determined by the caller
+
+
Returns:
portable error code
+
Note:
There is no way to access the last platform specific error code.

+If per thread buffers

+
See also:
hyportptb.h are not available the error code is not stored. This event would only occur if the per thread buffers could not be allocated, which is highly unlikely. In this case an application will receive a generic message/errorCode when querying for the last stored values.
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
I_32 VMCALL hyerror_set_last_error_with_message (struct HyPortLibrary portLibrary,
I_32  portableCode,
const char *  errorMessage 
)
+
+
+ +

+Error Handling. +

+Save the platform specific error code and the portable error code for future reference. Once stored an application may obtain the error message describing the last stored error by calling hyerror_last_error_message. Likewise the last portable error code can be obtained by calling hyerror_last_error_number.

+

Parameters:
+ + + + +
[in] portLibrary The port library
[in] portableCode The corresponding portable error code as determined by the caller
[in] errorMessage The customized error message to be stored
+
+
Returns:
portable error code
+
Note:
There is no way to access the last platform specific error code.

+If per thread buffers

+
See also:
hyportptb.h are not available the error code is not stored. This event would only occur if the per thread buffers could not be allocated, which is highly unlikely. In this case an application will receive a generic message/errorCode when querying for the last stored values.
+ +
+

+ +

+
+ + + + + + + + + +
void VMCALL hyerror_shutdown (struct HyPortLibrary portLibrary  ) 
+
+
+ +

+PortLibrary shutdown. +

+This function is called during shutdown of the portLibrary. Any resources that were created by hyerror_startup should be destroyed here.

+

Parameters:
+ + +
[in] portLibrary The port library
+
+
Note:
Most implementations will be empty.
+ +
+

+ +

+
+ + + + + + + + + +
I_32 VMCALL hyerror_startup (struct HyPortLibrary portLibrary  ) 
+
+
+ +

+PortLibrary startup. +

+This function is called during startup of the portLibrary. Any resources that are required for the error handling operations may be created here. All resources created here should be destroyed in hyerror_shutdown.

+

Parameters:
+ + +
[in] portLibrary The port library
+
+
Returns:
0 on success, negative error code on failure. Error code values returned are
    +
  • HYPORT_ERROR_STARTUP_ERROR
  • +
+
+
Note:
Most implementations will simply return success.
+ +
+

+


+
+ +

Genereated on Tue Dec 9 14:12:59 2008 by Doxygen.

+

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.

+
+
+ + Propchange: harmony/standard/site/docs/externals/vm_doc/html/hyerror_8c.html ------------------------------------------------------------------------------ svn:eol-style = native Added: harmony/standard/site/docs/externals/vm_doc/html/hyexit_8c.html URL: http://svn.apache.org/viewvc/harmony/standard/site/docs/externals/vm_doc/html/hyexit_8c.html?rev=724734&view=auto ============================================================================== --- harmony/standard/site/docs/externals/vm_doc/html/hyexit_8c.html (added) +++ harmony/standard/site/docs/externals/vm_doc/html/hyexit_8c.html Tue Dec 9 07:03:45 2008 @@ -0,0 +1,178 @@ + + +Harmony Class Library Porting: modules/portlib/src/main/native/port/shared/hyexit.c File Reference + + + + +
+ +
+

modules/portlib/src/main/native/port/shared/hyexit.c File Reference


Detailed Description

+Process shutdown. +

+ +

+#include <stdlib.h>
+#include "hyport.h"
+ + + + + + + + + + + + + + + +

Functions

I_32 VMCALL hyexit_get_exit_code (struct HyPortLibrary *portLibrary)
 Block until the portlibary has been exited and return the error code.
void VMCALL hyexit_shutdown_and_exit (struct HyPortLibrary *portLibrary, I_32 exitCode)
 Terminate a process.
void VMCALL hyexit_shutdown (struct HyPortLibrary *portLibrary)
 PortLibrary shutdown.
I_32 VMCALL hyexit_startup (struct HyPortLibrary *portLibrary)
 PortLibrary startup.
+


Function Documentation

+ +
+
+ + + + + + + + + +
I_32 VMCALL hyexit_get_exit_code (struct HyPortLibrary portLibrary  ) 
+
+
+ +

+Block until the portlibary has been exited and return the error code. +

+

Parameters:
+ + +
[in] portLibrary The port library
+
+
Returns:
exit code.
+
Note:
Most implementations will be empty.
+ +
+

+ +

+
+ + + + + + + + + +
void VMCALL hyexit_shutdown (struct HyPortLibrary portLibrary  ) 
+
+
+ +

+PortLibrary shutdown. +

+This function is called during shutdown of the portLibrary. Any resources that were created by hyexit_startup should be destroyed here.

+

Parameters:
+ + +
[in] portLibrary The port library
+
+
Note:
Most implementations will be empty.
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void VMCALL hyexit_shutdown_and_exit (struct HyPortLibrary portLibrary,
I_32  exitCode 
)
+
+
+ +

+Terminate a process. +

+Perform any shutdown which is absolutely necessary before terminating the process, and terminate the process. Unblock any callers to hyexit_get_exit_code

+

Parameters:
+ + + +
[in] portLibrary The port library
[in] exitCode The exit code to be used to terminate the process.
+
+ +
+

+ +

+
+ + + + + + + + + +
I_32 VMCALL hyexit_startup (struct HyPortLibrary portLibrary  ) 
+
+
+ +

+PortLibrary startup. +

+This function is called during startup of the portLibrary. Any resources that are required for the exit operations may be created here. All resources created here should be destroyed in hyexit_shutdown.

+

Parameters:
+ + +
[in] portLibrary The port library
+
+
Returns:
0 on success, negative error code on failure. Error code values returned are
    +
  • HYPORT_ERROR_STARTUP_EXIT
  • +
+
+
Note:
Most implementations will simply return success.
+ +
+

+


+
+ +

Genereated on Tue Dec 9 14:12:59 2008 by Doxygen.

+

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.

+
+
+ + Propchange: harmony/standard/site/docs/externals/vm_doc/html/hyexit_8c.html ------------------------------------------------------------------------------ svn:eol-style = native