Threads Information; 64-Bit Computing Information - HP zx6000 Release Notes

Hp zx6000: release note
Hide thumbs Also See for zx6000:
Table of Contents

Advertisement

Threads Information

===================
HP OpenGL supports Level 2 threads for this release. This means HP OpenGL can
be used in a threaded application. More than one thread can use OpenGL. A
given context can only be current in one thread at a given time.
Note that using OpenGL graphics in a kernel-threaded application requires that
the application link with libpthread.sl (not the archived version,
libpthread.a). Also, note that OpenGL libraries are not cancel safe or fork
safe.
For additional information on using threads, refer to the following
documentation:
* The
http://www.docs.hp.com/
Multiprocessing")
* The OpenGL Programming Guide
* The OpenGL Reference Manual
* Threadtime by S. Norton and M. Dipasquale

64-bit Computing Information

============================
64-bit applications are supported with OpenGL for this release. Applications
using 64-bit computing are supported on SPUs with 64-bit capabilities only;
they are not supported on 32-bit SPUs.
For information on porting your application to take advantage of 64-bit
capabilities, see the
Computing" and "Porting."
Note that 64-bit OpenGL allows "large data space" because the pointers are now
64-bit. But, the OpenGL data types themselves are the same as the 32-bit
library. For example, GLint is a 32-bit integer, not a 64-bit long.
All 64-bit OpenGL libraries are located in:
/opt/graphics/OpenGL/lib/hpux64.
The following sample compile and link lines may help you to build your
application once it has been ported to take advantage of 64-bit capabilities.
* Sample 32-bit compile and link:
cc -Ae -z -I/opt/graphics/OpenGL/include -I/usr/include/X -o cube.32 \
cube.c -L/opt/graphics/OpenGL/lib/hpux32 -L/usr/lib/hpux32/X11R6 \
-lGLU -lGL -lXhp11 -lXext -lX11 -lm -ldld
* Sample 64-bit compile and link:
cc -Ae +DD64 -z -I/opt/graphics/OpenGL/include \
-I/usr/include/X11R6 -Wl,+compat -o cube.64 cube.c \
-L/opt/graphics/OpenGL/lib/hpux64 \
-L/usr/lib/hpux64/X11R6 -L/usr/lib/hpux64 \
-lGLU -lGL -lXhp11 -lXext -lX11 -lm
Web site (search for "Threads and
http://www.docs.hp.com/
Web site. Search for "64-bit

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the zx6000 and is the answer not in the manual?

This manual is also suitable for:

Workstation zx2000Opengl for hp-ux 11.23 on ipf-based systems

Table of Contents