openjpeg/doxygen/structopj__thread__pool__t....

263 lines
16 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenJPEG: opj_thread_pool_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.5.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">opj_thread_pool_t Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:adb012d263904a4f62812ed7d30b0a47e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structopj__worker__thread__t.html">opj_worker_thread_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#adb012d263904a4f62812ed7d30b0a47e">worker_threads</a></td></tr>
<tr class="separator:adb012d263904a4f62812ed7d30b0a47e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43fd14e3ba8409a0fac589a6dd4e7ee1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#a43fd14e3ba8409a0fac589a6dd4e7ee1">worker_threads_count</a></td></tr>
<tr class="separator:a43fd14e3ba8409a0fac589a6dd4e7ee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19d0f595937228552fe62c69cb2f6c44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="thread_8h.html#a439cd27c17f11fc56a911a126811fb87">opj_cond_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#a19d0f595937228552fe62c69cb2f6c44">cond</a></td></tr>
<tr class="separator:a19d0f595937228552fe62c69cb2f6c44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a818a719866334770dda95c675cb73d63"><td class="memItemLeft" align="right" valign="top"><a class="el" href="thread_8h.html#a29120af1ce48d5ecd651795f2e427755">opj_mutex_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#a818a719866334770dda95c675cb73d63">mutex</a></td></tr>
<tr class="separator:a818a719866334770dda95c675cb73d63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ee9c2691cf72fb90bf662490830b72b"><td class="memItemLeft" align="right" valign="top">volatile <a class="el" href="thread_8c.html#a72b07be38efb141bb1f0456227d233e5">opj_worker_thread_state</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#a3ee9c2691cf72fb90bf662490830b72b">state</a></td></tr>
<tr class="separator:a3ee9c2691cf72fb90bf662490830b72b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff15e4a4599fc823762f8d3c28d8353d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structopj__job__list__t.html">opj_job_list_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#aff15e4a4599fc823762f8d3c28d8353d">job_queue</a></td></tr>
<tr class="separator:aff15e4a4599fc823762f8d3c28d8353d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad84a2e09419498cf81c8994f0441b131"><td class="memItemLeft" align="right" valign="top">volatile int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#ad84a2e09419498cf81c8994f0441b131">pending_jobs_count</a></td></tr>
<tr class="separator:ad84a2e09419498cf81c8994f0441b131"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50c4caa87ba2a6767d909898cc92b37a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structopj__worker__thread__list__t.html">opj_worker_thread_list_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#a50c4caa87ba2a6767d909898cc92b37a">waiting_worker_thread_list</a></td></tr>
<tr class="separator:a50c4caa87ba2a6767d909898cc92b37a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abad6b35fb3cc6cd8aaaf523de9a4a187"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#abad6b35fb3cc6cd8aaaf523de9a4a187">waiting_worker_thread_count</a></td></tr>
<tr class="separator:abad6b35fb3cc6cd8aaaf523de9a4a187"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a401a98b276c965e0b63efaf9e1369730"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structopj__tls__t.html">opj_tls_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#a401a98b276c965e0b63efaf9e1369730">tls</a></td></tr>
<tr class="separator:a401a98b276c965e0b63efaf9e1369730"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae68571d1cf6eae577c75df49c2827438"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structopj__thread__pool__t.html#ae68571d1cf6eae577c75df49c2827438">signaling_threshold</a></td></tr>
<tr class="separator:ae68571d1cf6eae577c75df49c2827438"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a id="a19d0f595937228552fe62c69cb2f6c44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19d0f595937228552fe62c69cb2f6c44">&#9670;&nbsp;</a></span>cond</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="thread_8h.html#a439cd27c17f11fc56a911a126811fb87">opj_cond_t</a>* opj_thread_pool_t::cond</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8h.html#ae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, <a class="el" href="thread_8c.html#acdca1ecb372546840fdd9d5d5badce07">opj_thread_pool_setup()</a>, <a class="el" href="thread_8h.html#af389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>, and <a class="el" href="thread_8h.html#a0ced26c80598e49bf3a964bb802130f1">opj_thread_pool_wait_completion()</a>.</p>
</div>
</div>
<a id="aff15e4a4599fc823762f8d3c28d8353d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff15e4a4599fc823762f8d3c28d8353d">&#9670;&nbsp;</a></span>job_queue</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structopj__job__list__t.html">opj_job_list_t</a>* opj_thread_pool_t::job_queue</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, and <a class="el" href="thread_8h.html#af389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>.</p>
</div>
</div>
<a id="a818a719866334770dda95c675cb73d63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a818a719866334770dda95c675cb73d63">&#9670;&nbsp;</a></span>mutex</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="thread_8h.html#a29120af1ce48d5ecd651795f2e427755">opj_mutex_t</a>* opj_thread_pool_t::mutex</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8h.html#a24a3a1b343df1168a3beb57babfa0916">opj_thread_pool_create()</a>, <a class="el" href="thread_8h.html#ae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, <a class="el" href="thread_8c.html#acdca1ecb372546840fdd9d5d5badce07">opj_thread_pool_setup()</a>, <a class="el" href="thread_8h.html#af389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>, and <a class="el" href="thread_8h.html#a0ced26c80598e49bf3a964bb802130f1">opj_thread_pool_wait_completion()</a>.</p>
</div>
</div>
<a id="ad84a2e09419498cf81c8994f0441b131"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad84a2e09419498cf81c8994f0441b131">&#9670;&nbsp;</a></span>pending_jobs_count</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">volatile int opj_thread_pool_t::pending_jobs_count</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, <a class="el" href="thread_8h.html#af389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>, and <a class="el" href="thread_8h.html#a0ced26c80598e49bf3a964bb802130f1">opj_thread_pool_wait_completion()</a>.</p>
</div>
</div>
<a id="ae68571d1cf6eae577c75df49c2827438"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae68571d1cf6eae577c75df49c2827438">&#9670;&nbsp;</a></span>signaling_threshold</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int opj_thread_pool_t::signaling_threshold</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, <a class="el" href="thread_8h.html#af389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>, and <a class="el" href="thread_8h.html#a0ced26c80598e49bf3a964bb802130f1">opj_thread_pool_wait_completion()</a>.</p>
</div>
</div>
<a id="a3ee9c2691cf72fb90bf662490830b72b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ee9c2691cf72fb90bf662490830b72b">&#9670;&nbsp;</a></span>state</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">volatile <a class="el" href="thread_8c.html#a72b07be38efb141bb1f0456227d233e5">opj_worker_thread_state</a> opj_thread_pool_t::state</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8h.html#a24a3a1b343df1168a3beb57babfa0916">opj_thread_pool_create()</a>, <a class="el" href="thread_8h.html#ae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, and <a class="el" href="thread_8c.html#acdca1ecb372546840fdd9d5d5badce07">opj_thread_pool_setup()</a>.</p>
</div>
</div>
<a id="a401a98b276c965e0b63efaf9e1369730"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a401a98b276c965e0b63efaf9e1369730">&#9670;&nbsp;</a></span>tls</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structopj__tls__t.html">opj_tls_t</a>* opj_thread_pool_t::tls</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8h.html#a24a3a1b343df1168a3beb57babfa0916">opj_thread_pool_create()</a>, <a class="el" href="thread_8h.html#ae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, and <a class="el" href="thread_8h.html#af389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>.</p>
</div>
</div>
<a id="abad6b35fb3cc6cd8aaaf523de9a4a187"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abad6b35fb3cc6cd8aaaf523de9a4a187">&#9670;&nbsp;</a></span>waiting_worker_thread_count</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int opj_thread_pool_t::waiting_worker_thread_count</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, <a class="el" href="thread_8c.html#acdca1ecb372546840fdd9d5d5badce07">opj_thread_pool_setup()</a>, and <a class="el" href="thread_8h.html#af389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>.</p>
</div>
</div>
<a id="a50c4caa87ba2a6767d909898cc92b37a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50c4caa87ba2a6767d909898cc92b37a">&#9670;&nbsp;</a></span>waiting_worker_thread_list</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structopj__worker__thread__list__t.html">opj_worker_thread_list_t</a>* opj_thread_pool_t::waiting_worker_thread_list</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8h.html#ae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, and <a class="el" href="thread_8h.html#af389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>.</p>
</div>
</div>
<a id="adb012d263904a4f62812ed7d30b0a47e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb012d263904a4f62812ed7d30b0a47e">&#9670;&nbsp;</a></span>worker_threads</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structopj__worker__thread__t.html">opj_worker_thread_t</a>* opj_thread_pool_t::worker_threads</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8h.html#ae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, and <a class="el" href="thread_8c.html#acdca1ecb372546840fdd9d5d5badce07">opj_thread_pool_setup()</a>.</p>
</div>
</div>
<a id="a43fd14e3ba8409a0fac589a6dd4e7ee1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43fd14e3ba8409a0fac589a6dd4e7ee1">&#9670;&nbsp;</a></span>worker_threads_count</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int opj_thread_pool_t::worker_threads_count</td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="thread_8h.html#ae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, <a class="el" href="thread_8h.html#a4faef98a6b8495c63e9e5ce9cf0c3fc3">opj_thread_pool_get_thread_count()</a>, <a class="el" href="thread_8c.html#acdca1ecb372546840fdd9d5d5badce07">opj_thread_pool_setup()</a>, and <a class="el" href="thread_8h.html#af389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="thread_8c.html">thread.c</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>