Previous Page Contents Page Next Page

3.4 Multiple Processes and Multiple Threads

If a HLLAPI application issues the fork system call while connected to a presentation space, the parent process remains connected to the presentation space. The child process can connect to other presentation spaces not used by the parent process, but it will not be able to use this presentation space unless the parent process explicitly disconnects from it.

SNAP-IX provides two versions of the HLLAPI library, one for single-threaded applications and one that is designed to be thread-safe when used in a multi-threaded environment (to be safe for use by applications that use multiple threads within one process). If your HLLAPI application uses multiple threads, ensure that you use the correct version of the HLLAPI library. For more information, refer to Compiling and Linking the HLLAPI Application.

Previous Page Contents Page Top of Page Next page