DCE for the HP e3000 (B3821-90002)
Programming Notes
Threads Architecture
Chapter 4
45
that is waiting to enter debug, from obtaining the
terminal semaphore and interfering with the debug
session.
TERM_KEEPLOCK Allows a process to retain the terminal semaphore
under all conditions until the process terminates or
the variable is reset to FALSE. However, this
variable has the potential to create a deadlock. For
example, a deadlock occurs if the process owning the
terminal semaphore waits for another process that in
turn is waiting for the debug terminal semaphore.
Limitations
The following are know limitations for the debug thread commands:
• The break command followed by an abort command hangs the task if the initial
thread is waiting to enter debug (such as, another thread is currently in debug).
• The SUSPEND command has the potential to hang a task if the user does not issue an
ACTIVATE command before doing the CONTINUE command.
• Each thread has its own debug environment. For example, loaded macros and
environmental variables are not shared by threads within a task, and must be dealt
with on an individual basis for each thread.