⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manual_dscsetsystempriority.html

📁 Diamond公司Dscud通用驱动使用说明手册
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"        "http://www.w3.org/TR/html4/loose.dtd"><html lang="en"><head><title>DscSetSystemPriority - Universal Driver Documentation</title><meta http-equiv="Content-type" content="text/html; charset=iso-8859-1"><meta name="robots" content="index,follow"><link rel="shortcut icon" href="/favicon.ico"><link rel="stylesheet" href="/dscud/style/wikiprintable.css"><script type="text/javascript" src="/dscud/style/wikibits.js"></script><style type='text/css'><!--a.new, #quickbar a.new { color: #CC2200; }#quickbar { position: absolute; top: 4px; left: 4px; border-right: 1px solid gray; }#article { margin-left: 152px; margin-right: 4px; }//--></style></head><body bgcolor='#FFFFFF'><div class='titlebox'><h1 class='pagetitle'>DscSetSystemPriority</h1><span class='subtitle'>Universal Driver Documentation</span></div><div class='navbox'><a href="manual_Main_Page.html" class='printable' title ="Main Page">Main Page</a> || <a href="manual_Table_of_Contents.html" class='printable' title ="Table of Contents">Table_of_Contents</a> || <a href="http://www.diamondsystems.com/">Diamond Systems Website</a></div></div><div class='bodytext'><a name="top"></a>Sets the system priority for the interrupt processing thread.
<p>
<p><table border="0" id="toc"><tr><td align="center"><b>Table of contents</b> <script type='text/javascript'>showTocToggle("show","hide")</script></td></tr><tr id='tocinside'><td align="left"><div style="margin-bottom:0px;"><A CLASS="internal" HREF="#Function_Definition">1 Function Definition</A><BR></div><div style="margin-bottom:0px;"><A CLASS="internal" HREF="#Function_Parameters">2 Function Parameters</A><BR></div><div style="margin-bottom:0px;"><A CLASS="internal" HREF="#Return_Value">3 Return Value</A><BR></div><div style="margin-bottom:0px;"><A CLASS="internal" HREF="#System_Priority_on_Linux_and_QNX">4 System Priority on Linux and QNX</A><BR></div></td></tr></table><P><h2><a name="Function_Definition">Function Definition</a></h2>
<p>
BYTE dscSetSystemPriority(DWORD priority)
<p>
<h2><a name="Function_Parameters">Function Parameters</a></h2>
<p>
<table border=1><tr ><TH>Name</TH><TH>Description</TH></tr><tr ><TD>priority</TD><TD>The system specific priority to use.</TD></tr></table><p>
<h2><a name="Return_Value">Return Value</a></h2>
<p>
Error code or 0.
<p>
<p>
<h2><a name="System_Priority_on_Linux_and_QNX">System Priority on Linux and QNX</a></h2>
<p>
A thread is created by the driver in user mode which communicates with the interrupt handling functions.  This thread is responsible for copying sample data into the user buffer.  It also is responsible for calling the user provided user interrupt function.  By default, the driver sets the highest priority available for this thread so that these tasks complete with a minimum of latency.  The functions pthread_set_schedpolicy() and pthread_set_schedparam() are used to set this priority.  The user can set a lower priority to this thread using dscSetSystemPriority().  See the pthreads documentation for scheduling for information on what priority numbers are available.
<p></div><p><em> <br> This page was last modified 15:06, 12 Feb 2004.<br>Copyright (c) 2004 Diamond Systems.  All Rights Reserved.</em><!-- Time since request: 0.15 secs. --></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -