1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >Time Management Functions</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
23 HREF="compat-uitron-microitron-api.html"><LINK
25 TITLE=" Memory pool Management Functions"
26 HREF="compat-uitron-memory-pool-mgmt-functions.html"><LINK
28 TITLE=" System Management Functions"
29 HREF="compat-uitron-system-mgmt-functions.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="compat-uitron-memory-pool-mgmt-functions.html"
65 >Chapter 32. µITRON API</TD
71 HREF="compat-uitron-system-mgmt-functions.html"
85 NAME="COMPAT-UITRON-TIME-MGMT-FUNCTIONS">Time Management Functions</H1
87 >These functions are fully supported in this release: </P
95 CLASS="PROGRAMLISTING"
129 > Setting the time may cause erroneous operation of the
130 kernel, for example a task performing a wait with a
131 time-out may never awaken.</P
143 CLASS="PROGRAMLISTING"
165 CLASS="PROGRAMLISTING"
187 CLASS="PROGRAMLISTING"
215 CLASS="PROGRAMLISTING"
243 CLASS="PROGRAMLISTING"
271 CLASS="PROGRAMLISTING"
299 CLASS="PROGRAMLISTING"
327 CLASS="PROGRAMLISTING"
340 NAME="AEN14010">Error checking</H2
342 >The following conditions are only checked for, and only return
346 >CYGSEM_UITRON_BAD_PARAMS_RETURN_ERRORS</TT
354 >invalid handler number; less than 1 or greater than
357 >CYGNUM_UITRON_CYCLICS/ALARMS</TT
359 as appropriate, or E_PAR</P
363 >dispatching is enabled in
372 >dlytim must be positive or zero, otherwise E_PAR</P
376 >return value pointer in
381 is a valid pointer, or E_PAR</P
385 >params within pk_dalm and pk_dcyc must
386 be valid, or E_PAR</P
395 must be valid, or E_PAR</P
399 >handler must be defined in
413 >parameter pointer must be a good pointer in
423 , otherwise E_PAR is returned</P
427 >The following conditions are checked for, and can return
428 error codes, regardless of the setting of
431 >CYGSEM_UITRON_BAD_PARAMS_RETURN_ERRORS</TT
443 : return code E_RLWAI is returned depending on the reason
444 for terminating the sleep</P
454 SUMMARY="Footer navigation table"
465 HREF="compat-uitron-memory-pool-mgmt-functions.html"
483 HREF="compat-uitron-system-mgmt-functions.html"
493 >Memory pool Management Functions</TD
499 HREF="compat-uitron-microitron-api.html"
507 >System Management Functions</TD