~ubuntu-branches/ubuntu/saucy/clamav/saucy

« back to all changes in this revision

Viewing changes to win32/3rdparty/pthreads/manual/sched_get_priority_max.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-04-11 19:58:58 UTC
  • Revision ID: james.westby@ubuntu.com-20100411195858-exax6ky1jyzpa1h7
Tags: 0.96+dfsg-1ubuntu1
* Merge from Debian Unstable.  Remaining Ubuntu changes:
  - Drop initial signature definitions from clamav-base
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes
* Adjust debconf processing for new option to the default priority procuces
  valid configuration files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
 
<HTML>
3
 
<HEAD>
4
 
        <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
5
 
        <TITLE>&quot;SCHED_GET_PRIORITY_MAX&quot;(P) manual page</TITLE>
6
 
        <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.3  (Linux)">
7
 
        <META NAME="CREATED" CONTENT="20050505;12575100">
8
 
        <META NAME="CHANGED" CONTENT="20050510;12533300">
9
 
        <!-- manual page source format generated by PolyglotMan v3.2, -->
10
 
        <!-- available at http://polyglotman.sourceforge.net/ -->
11
 
</HEAD>
12
 
<BODY LANG="en-GB" BGCOLOR="#ffffff" DIR="LTR">
13
 
<H4>POSIX Threads for Windows – REFERENCE - <A HREF="http://sources.redhat.com/pthreads-win32">Pthreads-w32</A></H4>
14
 
<P><A HREF="index.html">Reference Index</A></P>
15
 
<P><A HREF="#toc">Table of Contents</A></P>
16
 
<H2><A HREF="#toc0" NAME="sect0">Name</A></H2>
17
 
<P>sched_get_priority_max, sched_get_priority_min - get priority
18
 
limits (<B>REALTIME</B>) 
19
 
</P>
20
 
<H2><A HREF="#toc1" NAME="sect1">Synopsis</A></H2>
21
 
<P><B>#include &lt;sched.h&gt; </B>
22
 
</P>
23
 
<P><B>int sched_get_priority_max(int</B> <I>policy</I><B>); <BR>int
24
 
sched_get_priority_min(int</B> <I>policy</I><B>); </B>
25
 
</P>
26
 
<H2><A HREF="#toc2" NAME="sect2">Description</A></H2>
27
 
<P>The <B>sched_get_priority_max</B> and <B>sched_get_priority_min</B>
28
 
functions shall return the appropriate maximum or minimum,
29
 
respectively, for the scheduling policy specified by <I>policy</I>. 
30
 
</P>
31
 
<P>The value of <I>policy</I> shall be one of the scheduling policy
32
 
values defined in <I>&lt;sched.h&gt;</I>. 
33
 
</P>
34
 
<H2><A HREF="#toc3" NAME="sect3">Return Value</A></H2>
35
 
<P>If successful, the <B>sched_get_priority_max</B> and
36
 
<B>sched_get_priority_min</B> functions shall return the appropriate
37
 
maximum or minimum values, respectively. If unsuccessful, they shall
38
 
return a value of -1 and set <I>errno</I> to indicate the error. 
39
 
</P>
40
 
<H2><A HREF="#toc4" NAME="sect4">Errors</A></H2>
41
 
<P>The <B>sched_get_priority_max</B> and <B>sched_get_priority_min</B>
42
 
functions shall fail if: 
43
 
</P>
44
 
<DL>
45
 
        <DT><B>EINVAL</B> 
46
 
        </DT><DD STYLE="margin-bottom: 0.5cm">
47
 
        The value of the <I>policy</I> parameter does not represent a
48
 
        defined scheduling policy. 
49
 
        </DD></DL>
50
 
<P>
51
 
<I>The following sections are informative.</I> 
52
 
</P>
53
 
<H2><A HREF="#toc5" NAME="sect5">Examples</A></H2>
54
 
<P>None. 
55
 
</P>
56
 
<H2><A HREF="#toc6" NAME="sect6">Application Usage</A></H2>
57
 
<P>None. 
58
 
</P>
59
 
<H2><A HREF="#toc7" NAME="sect7">Rationale</A></H2>
60
 
<P>None. 
61
 
</P>
62
 
<H2><A HREF="#toc8" NAME="sect8">Future Directions</A></H2>
63
 
<P>None. 
64
 
</P>
65
 
<H2><A HREF="#toc9" NAME="sect9">See Also</A></H2>
66
 
<P><A HREF="sched_getscheduler.html"><B>sched_getscheduler</B>(3)</A>
67
 
<B>,</B> <A HREF="sched_setscheduler.html"><B>sched_setscheduler</B>(3)</A>
68
 
<B>,</B> the Base Definitions volume of IEEE&nbsp;Std&nbsp;1003.1-2001,
69
 
<I>&lt;sched.h&gt;</I> 
70
 
</P>
71
 
<H2><A HREF="#toc10" NAME="sect10">Copyright</A></H2>
72
 
<P>Portions of this text are reprinted and reproduced in electronic
73
 
form from IEEE Std 1003.1, 2003 Edition, Standard for Information
74
 
Technology -- Portable Operating System Interface (POSIX), The Open
75
 
Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the
76
 
Institute of Electrical and Electronics Engineers, Inc and The Open
77
 
Group. In the event of any discrepancy between this version and the
78
 
original IEEE and The Open Group Standard, the original IEEE and The
79
 
Open Group Standard is the referee document. The original Standard
80
 
can be obtained online at <A HREF="http://www.opengroup.org/unix/online.html">http://www.opengroup.org/unix/online.html</A>
81
 
82
 
</P>
83
 
<P>Modified by Ross Johnson for use with <A HREF="http://sources.redhat.com/pthreads-win32">Pthreads-w32</A>.</P>
84
 
<HR>
85
 
<P><A NAME="toc"></A><B>Table of Contents</B></P>
86
 
<UL>
87
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect0" NAME="toc0">Name</A>
88
 
                </P>
89
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect1" NAME="toc1">Synopsis</A>
90
 
                </P>
91
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect2" NAME="toc2">Description</A>
92
 
                </P>
93
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect3" NAME="toc3">Return
94
 
        Value</A> 
95
 
        </P>
96
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect4" NAME="toc4">Errors</A>
97
 
                </P>
98
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect5" NAME="toc5">Examples</A>
99
 
                </P>
100
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect6" NAME="toc6">Application
101
 
        Usage</A> 
102
 
        </P>
103
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect7" NAME="toc7">Rationale</A>
104
 
                </P>
105
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect8" NAME="toc8">Future
106
 
        Directions</A> 
107
 
        </P>
108
 
        <LI><P STYLE="margin-bottom: 0cm"><A HREF="#sect9" NAME="toc9">See
109
 
        Also</A> 
110
 
        </P>
111
 
        <LI><P><A HREF="#sect10" NAME="toc10">Copyright</A> 
112
 
        </P>
113
 
</UL>
114
 
</BODY>
115
 
</HTML>
 
 
b'\\ No newline at end of file'