openjpeg/doxygen/structopj__thread__pool__t....

246 lines
16 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.11"/>
<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.4.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
</ul>
</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="group___t_h_r_e_a_d.html#ga439cd27c17f11fc56a911a126811fb87">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="group___t_h_r_e_a_d.html#ga29120af1ce48d5ecd651795f2e427755">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 class="anchor" id="a19d0f595937228552fe62c69cb2f6c44"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group___t_h_r_e_a_d.html#ga439cd27c17f11fc56a911a126811fb87">opj_cond_t</a>* opj_thread_pool_t::cond</td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="group___t_h_r_e_a_d.html#gae44e8b9258d0baa19e3671a382faa33e">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="group___t_h_r_e_a_d.html#gaf389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>, and <a class="el" href="group___t_h_r_e_a_d.html#ga0ced26c80598e49bf3a964bb802130f1">opj_thread_pool_wait_completion()</a>.</p>
</div>
</div>
<a class="anchor" id="aff15e4a4599fc823762f8d3c28d8353d"></a>
<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>Referenced by <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, and <a class="el" href="group___t_h_r_e_a_d.html#gaf389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>.</p>
</div>
</div>
<a class="anchor" id="a818a719866334770dda95c675cb73d63"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group___t_h_r_e_a_d.html#ga29120af1ce48d5ecd651795f2e427755">opj_mutex_t</a>* opj_thread_pool_t::mutex</td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="group___t_h_r_e_a_d.html#ga24a3a1b343df1168a3beb57babfa0916">opj_thread_pool_create()</a>, <a class="el" href="group___t_h_r_e_a_d.html#gae44e8b9258d0baa19e3671a382faa33e">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="group___t_h_r_e_a_d.html#gaf389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>, and <a class="el" href="group___t_h_r_e_a_d.html#ga0ced26c80598e49bf3a964bb802130f1">opj_thread_pool_wait_completion()</a>.</p>
</div>
</div>
<a class="anchor" id="ad84a2e09419498cf81c8994f0441b131"></a>
<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>Referenced by <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, <a class="el" href="group___t_h_r_e_a_d.html#gaf389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>, and <a class="el" href="group___t_h_r_e_a_d.html#ga0ced26c80598e49bf3a964bb802130f1">opj_thread_pool_wait_completion()</a>.</p>
</div>
</div>
<a class="anchor" id="ae68571d1cf6eae577c75df49c2827438"></a>
<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>Referenced by <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, <a class="el" href="group___t_h_r_e_a_d.html#gaf389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>, and <a class="el" href="group___t_h_r_e_a_d.html#ga0ced26c80598e49bf3a964bb802130f1">opj_thread_pool_wait_completion()</a>.</p>
</div>
</div>
<a class="anchor" id="a3ee9c2691cf72fb90bf662490830b72b"></a>
<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>Referenced by <a class="el" href="group___t_h_r_e_a_d.html#ga24a3a1b343df1168a3beb57babfa0916">opj_thread_pool_create()</a>, <a class="el" href="group___t_h_r_e_a_d.html#gae44e8b9258d0baa19e3671a382faa33e">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 class="anchor" id="a401a98b276c965e0b63efaf9e1369730"></a>
<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>Referenced by <a class="el" href="group___t_h_r_e_a_d.html#ga24a3a1b343df1168a3beb57babfa0916">opj_thread_pool_create()</a>, <a class="el" href="group___t_h_r_e_a_d.html#gae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, and <a class="el" href="group___t_h_r_e_a_d.html#gaf389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>.</p>
</div>
</div>
<a class="anchor" id="abad6b35fb3cc6cd8aaaf523de9a4a187"></a>
<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>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="group___t_h_r_e_a_d.html#gaf389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>.</p>
</div>
</div>
<a class="anchor" id="a50c4caa87ba2a6767d909898cc92b37a"></a>
<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>Referenced by <a class="el" href="group___t_h_r_e_a_d.html#gae44e8b9258d0baa19e3671a382faa33e">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="group___t_h_r_e_a_d.html#gaf389ecb3a583a30077fc546eef767c89">opj_thread_pool_submit_job()</a>.</p>
</div>
</div>
<a class="anchor" id="adb012d263904a4f62812ed7d30b0a47e"></a>
<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>Referenced by <a class="el" href="group___t_h_r_e_a_d.html#gae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, and <a class="el" href="thread_8c.html#acdca1ecb372546840fdd9d5d5badce07">opj_thread_pool_setup()</a>.</p>
</div>
</div>
<a class="anchor" id="a43fd14e3ba8409a0fac589a6dd4e7ee1"></a>
<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>Referenced by <a class="el" href="group___t_h_r_e_a_d.html#gae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, <a class="el" href="thread_8c.html#a57e6dc05f2283639a2ec0b6884d9691c">opj_thread_pool_get_next_job()</a>, <a class="el" href="group___t_h_r_e_a_d.html#ga4faef98a6b8495c63e9e5ce9cf0c3fc3">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="group___t_h_r_e_a_d.html#gaf389ecb3a583a30077fc546eef767c89">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.11
</small></address>
</body>
</html>