of a property to set to the value of the current
 thread priority. Optional</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>currentPriority</code> - the property name.</dd>
</dl>
</li>
</ul>
<a name="setNewPriority-int-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setNewPriority</h4>
<pre>public&nbsp;void&nbsp;setNewPriority(int&nbsp;newPriority)</pre>
<div class="block">the new priority, in the range 1-10.</div>
<dl>
<dt><span class="paramLabel">Paramete