Log:
Assessments - 0, GPA: 0 ( )

Instruções de Operação HP, Modelo HP NonStop G-Series

Fabricante : HP
Arquivo Tamanho: 349.94 kb
Arquivo Nome :
Língua de Ensino: en
Ir para baixar



por este dispositivo também tem outras instruções :

Facilidade de uso


Relink the Java virtual machine (Java VM) by using the
6.
/usr/tandem/install/Makefile.
For more information about the Makefile, see the /usr/tandem/install/README file.
The javahjni demo shows an example of how to create a library file and link it in with a java
executable. It also shows using IEEE floating point.
The remainder of this subsection explains how to use sockets.
Sockets
Use only the NonStop Server for Java 4 socket implementation in java.net (the standard Java socket). All
socket I/O calls are thread-safe and nonblocking.
If you need to make socket calls from JNI code, use the pthread wrappers to determine if a socket is read
(spt_fd_read_ready) or write ready (spt_fd_write_ready). Also use the pthread wrappers when
closing (spt_close) the socket. If you make a call to select, the entire Java VM process blocks until the
call completes. If you use Java sockets, the coding effort is much simplier. If you use Java sockets, the Java
VM can schedule other threads while one thread is waiting for socket completion.
Calling Java Methods From C or C++
You can create your own C or C++ program and use the Invocation API to load the Java VM into an
arbitrary native program. Be sure to follow these guidelines:
Compile code written in C++ by using the
q
-Wversion2 compiler and the -WIEEE_float
compiler command-line options.
In the NonStop system environment, link the NonStop Server for Java 4 libraries into the custom-built
q
main program.
Do not set signal handlers for the following signals:
q
SIGSEGV, SIGPIPE, SIGCHLD, SIGILL,
SIGFPE, SIGINT, SIGQUIT, SIGTERM, and SIGHUP.
Set the executable to use IEEE floating point.
q
When a program uses the Invocation API to start a Java VM, its function returns and parameters of type
float or double are in IEEE floating-point format. Any parameters of type float or double that are
passed to NonStop Server for Java 4 must also be in IEEE floating-point format. If such a program wants to
convert between TNS floating-point format and IEEE floating-point format, the Guardian Procedure Calls
Manual documents a series of procedures with names beginning with NSK_FLOAT_ that can be used to
convert float and double data between the two formats.
To run the Invocation API demo, follow the instructions for the Invocation API demo in the README file in
the directory /usr/tandem/java/demo/invocation_api.
Using the compaq.liblist System Property
By default, the NonStop Server for Java 4 does not throw an UnsatisfiedLinkError exception when
System.load or System.loadLibrary are called for a library that has not been statically linked into
the Java virtual machine. An UnsatisfiedLinkError is thrown, however, when a native method is
invoked if that native method does not exist in the Java VM. NonStop Server for Java 4 does not support
dynamically linked libraries.
To catch an UnsatisfiedLinkError during a call to load or loadLibrary when a static library has


...

Este manual também é adequado para os modelos :
Computadores - HP NonStop L-Series (349.94 kb)

Escreva a sua própria avaliação do dispositivo



Mensagem
Seu nome :
Introduza os dois dígitos :
capcha





categorias