HP Workstation zx2000 HP OpenGL Implementation Guide for HP-UX 11.X (IPF versi - Page 9
threads support, additional documentation
View all HP Workstation zx2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 9 highlights
overview of OpenGL threads support OpenGL supports Level 2 threads. This means HP OpenGL can be used in threaded applications, and more than one thread can use OpenGL. Using OpenGL graphics in a kernel threaded application requires that the application link with libpthread.so (not the archived version, libpthread.a). OpenGL libraries are not cancel safe or fork safe. A given context can only be current in one thread at a time. Enable your X11 library to use threads by calling XInitThreads () in your program. An example of a threaded OpenGL program is given in /opt/graphics/OpenGL/demos/threads. additional documentation For more information on using threads, see the following documentation: ■ The http://docs.hp.com Web site (search for "Threads" and "Multiprocessing") ■ The OpenGL Programming Guide ■ The OpenGL Reference Manual ■ Threadtime by S. Norton and M. Dipasquale OpenGL implementation guide 1-5