1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>OS_Terminate</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">OS_Terminate <img src="../../image/NTR.gif" align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD><CODE>#include &lt;nitro/os.h&gt;</CODE><BR>
15  <BR>
16  <CODE>void OS_Terminate( void );</CODE>
17</DL>
18<H2>Arguments</H2>
19<P>None.</P>
20<H2>Return Values</H2>
21<P>None.</P>
22<H2>Description</H2>
23<P>This function sets the CPU to HALT status and loops the program.</P>
24<P>There is no return from this function. Execution cannot switch to another thread after the status has been set to HALT.</P>
25<P>Prohibits interrupts and calls <A href="OS_Halt.html"><CODE>OS_Halt()</CODE></A> internally.</P>
26<H2>See Also</H2>
27<P><CODE><A href="../debug/OS_Panic.html">OS_Panic</A>, <A href="OS_Halt.html">OS_Halt</A>, <A href="OS_Exit.html">OS_Exit</A></CODE></P>
28<H2>Revision History</H2>
29<P>2004/04/05 Initial version.</P>
30<hr><p>CONFIDENTIAL</p></body>
31</HTML>