> > If someone knows a tool to freeze some TCB's in an address space. > > (The background is, that we have problems with the C/C++ distributed > > debugger and multi task/multi thread applications. > > The debugger is jumping between the tasks without any > > control, so we > > can't freeze the "unimportant" tasks) > > > > Assembler macro STATUS STOP >
Yikes! You really want to hang that far out over the edge? Yes, STATUS does exactly that, but inappropriate use of STATUS can wreak havoc within the address space and in some circumstances, across the whole system. When a task is marked non-dispatchable it's toast until you reset it. All of the work that would have run under that task, even asynchronous work, will be delayed. If the system needs to schedule an IRB to complete some processing under that task (or, depending on your STATUS options, any of its sub-tasks) the IRB is going to remain pending. Potentially indefinitely. Unless you really really know what you're doing it's just a bad idea. As for the original question... I don't know the answer. I would expect the debugger developers to provide natural serialization (ENQ) to allow the multi-tasking environment to be debugged successfully. If they didn't then you're kind of out of luck. Dave Cole manages to get it right with XDC... CC ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

