DCE for the HP e3000 (B3821-90002)
Chapter 5
51
5 Programming with Kernel Threads
Programming with threads, is useful for structuring programs, enhancing performance
through concurrency and overlapping I/O, making client/server interaction more
efficient, and increases programming complexity. Some things you need to address when
programming with threads are:
• Creation and management of threads.
• Threads synchronization and communication.
• Threads scheduling.
• Error handling
A traditional non-threaded process has a single thread of control, started and
terminated with the process, and multi-threaded programs require that threads be
created and terminated explicitly.
The HP 3000 Kernel Threads Service provides basic thread creation and management
routines. Refer to the OSF DCE Application Development Guide (B3190-90036) and the
OSF DCE Application Development Reference (B3190-90032) for detailed information on
thread creation and management.