71 lines
5.0 KiB
HTML
71 lines
5.0 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="concept" />
|
|
<meta name="DC.Title" content="Debugging and servicing of multithreaded jobs" />
|
|
<meta name="abstract" content="Use the concepts and techniques that are described here to learn about debugging and servicing multithreaded jobs:" />
|
|
<meta name="description" content="Use the concepts and techniques that are described here to learn about debugging and servicing multithreaded jobs:" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzahwovepo.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzahwtooco.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzahwflyco.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzahworkco.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzahwdebco.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzahwdetco.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzahwcomco.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzahwcomco.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzahwbug-bugco" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Debugging and servicing of multithreaded jobs</title>
|
|
</head>
|
|
<body id="rzahwbug-bugco"><a name="rzahwbug-bugco"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Debugging and servicing of multithreaded jobs</h1>
|
|
<div><p>Use the concepts and techniques that are described here to learn
|
|
about debugging and servicing multithreaded jobs:</p>
|
|
<p>The concepts that are described in this section pertain to all programming
|
|
languages. To determine how each language enables these concepts, refer to
|
|
the <a href="../rzahg/rzahglanguages.htm">Language</a> topic
|
|
in the information center for the specific language.</p>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rzahwtooco.htm">Commands that report thread-related data</a></strong><br />
|
|
Most of the commands used to service jobs were not changed to support multithreaded processes. Therefore, the existing commands will continue to operate against the job and not individual threads within the job.</li>
|
|
<li class="ulchildlink"><strong><a href="rzahwflyco.htm">Flight recorders</a></strong><br />
|
|
A useful way to debug multithreaded applications is to write data to a flight recorder. A flight recorder is a file, output buffer, or some other object where trace information is written so that problems in the application can be tracked.</li>
|
|
<li class="ulchildlink"><strong><a href="rzahworkco.htm">Options to view thread information</a></strong><br />
|
|
The <span class="cmdname">Display Job (DSPJOB)</span>, <span class="cmdname">Work with
|
|
Job (WRKJOB)</span>, and <span class="cmdname">Work with Active Jobs (WRKACTJOB)</span> commands
|
|
allow you to display and work with threads associated with an <span class="keyword">i5/OS™</span> job.</li>
|
|
<li class="ulchildlink"><strong><a href="rzahwdebco.htm">Multithreaded job debugging</a></strong><br />
|
|
The <span class="apiname">spawn()</span> API provides a mechanism to allow
|
|
you to start a debugging session before actually calling the multithreaded
|
|
program to be debugged.</li>
|
|
<li class="ulchildlink"><strong><a href="rzahwdetco.htm">Areas to test for multithreaded applications</a></strong><br />
|
|
Testing is key to the process of verifying the correctness of a multithreaded program.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahwovepo.htm" title="A thread is the path taken by a program while running, the steps performed, and the order in which the steps are performed.">Multithreaded applications</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="rzahwcomco.htm" title="Several programming errors often occur when writing multithreaded applications.">Common multithreaded programming errors</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |