<!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"/> <title>GNU Radio 3.3.0 C++ API: gc_jd_queue.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="contents"> <h1>gc_jd_queue.h File Reference</h1><code>#include <<a class="el" href="gc__jd__queue__data_8h_source.html">gcell/gc_jd_queue_data.h</a>></code><br/> <div class="dynheader"> Include dependency graph for spu/gc_jd_queue.h:</div> <div class="dynsection"> <div class="center"><img src="spu_2gc__jd__queue_8h__incl.png" border="0" usemap="#gc__jd__queue_8h_map" alt=""/></div> <map name="gc__jd__queue_8h_map" id="gc__jd__queue_8h"> <area shape="rect" id="node3" href="gc__jd__queue__data_8h.html" title="gcell/gc_jd_queue_data.h" alt="" coords="120,83,288,112"/><area shape="rect" id="node5" href="gc__types_8h.html" title="gcell/gc_types.h" alt="" coords="93,237,211,267"/><area shape="rect" id="node13" href="gc__job__desc_8h.html" title="gcell/gc_job_desc.h" alt="" coords="189,160,325,189"/><area shape="rect" id="node9" href="gc__cdefs_8h.html" title="gcell/gc_cdefs.h" alt="" coords="93,315,211,344"/><area shape="rect" id="node11" href="compiler_8h.html" title="gcell/compiler.h" alt="" coords="235,315,347,344"/><area shape="rect" id="node16" href="gc__job__desc__private_8h.html" title="gcell/gc_job_desc_private.h" alt="" coords="235,237,416,267"/></map> </div> <p><a href="spu_2gc__jd__queue_8h_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Enumerations</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="spu_2gc__jd__queue_8h.html#a8d4fc0afb98cd0114353edb6310ec9e4">gc_dequeue_status_t</a> { <a class="el" href="spu_2gc__jd__queue_8h.html#a8d4fc0afb98cd0114353edb6310ec9e4ae3bf3ce1f2b62be317d2d8c4a77c0337">GCQ_OK</a>, <a class="el" href="spu_2gc__jd__queue_8h.html#a8d4fc0afb98cd0114353edb6310ec9e4aa94c1fad8db3b92efd219f902833c8dd">GCQ_EMPTY</a>, <a class="el" href="spu_2gc__jd__queue_8h.html#a8d4fc0afb98cd0114353edb6310ec9e4a2627b62410f8f9d6e80764b06a80371c">GCQ_LOCKED</a> }</td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="spu_2gc__jd__queue_8h.html#a8d4fc0afb98cd0114353edb6310ec9e4">gc_dequeue_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="spu_2gc__jd__queue_8h.html#a8b09b930d80d97832aa08e0153e47fba">gc_jd_queue_dequeue</a> (<a class="el" href="gc__types_8h.html#affc43a8e5ab8551e7361f8ce8521c34d">gc_eaddr_t</a> q, <a class="el" href="gc__types_8h.html#affc43a8e5ab8551e7361f8ce8521c34d">gc_eaddr_t</a> *item_ea, int jd_tag, <a class="el" href="structgc__job__desc.html">gc_job_desc_t</a> *item)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove and return item at head of queue. <a href="#a8b09b930d80d97832aa08e0153e47fba"></a><br/></td></tr> </table> <hr/><h2>Enumeration Type Documentation</h2> <a class="anchor" id="a8d4fc0afb98cd0114353edb6310ec9e4"></a><!-- doxytag: member="spu/gc_jd_queue.h::gc_dequeue_status_t" ref="a8d4fc0afb98cd0114353edb6310ec9e4" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="spu_2gc__jd__queue_8h.html#a8d4fc0afb98cd0114353edb6310ec9e4">gc_dequeue_status_t</a></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="a8d4fc0afb98cd0114353edb6310ec9e4ae3bf3ce1f2b62be317d2d8c4a77c0337"></a><!-- doxytag: member="GCQ_OK" ref="a8d4fc0afb98cd0114353edb6310ec9e4ae3bf3ce1f2b62be317d2d8c4a77c0337" args="" -->GCQ_OK</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8d4fc0afb98cd0114353edb6310ec9e4aa94c1fad8db3b92efd219f902833c8dd"></a><!-- doxytag: member="GCQ_EMPTY" ref="a8d4fc0afb98cd0114353edb6310ec9e4aa94c1fad8db3b92efd219f902833c8dd" args="" -->GCQ_EMPTY</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="a8d4fc0afb98cd0114353edb6310ec9e4a2627b62410f8f9d6e80764b06a80371c"></a><!-- doxytag: member="GCQ_LOCKED" ref="a8d4fc0afb98cd0114353edb6310ec9e4a2627b62410f8f9d6e80764b06a80371c" args="" -->GCQ_LOCKED</em> </td><td> </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a8b09b930d80d97832aa08e0153e47fba"></a><!-- doxytag: member="spu/gc_jd_queue.h::gc_jd_queue_dequeue" ref="a8b09b930d80d97832aa08e0153e47fba" args="(gc_eaddr_t q, gc_eaddr_t *item_ea, int jd_tag, gc_job_desc_t *item)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="spu_2gc__jd__queue_8h.html#a8d4fc0afb98cd0114353edb6310ec9e4">gc_dequeue_status_t</a> gc_jd_queue_dequeue </td> <td>(</td> <td class="paramtype"><a class="el" href="gc__types_8h.html#affc43a8e5ab8551e7361f8ce8521c34d">gc_eaddr_t</a> </td> <td class="paramname"> <em>q</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="gc__types_8h.html#affc43a8e5ab8551e7361f8ce8521c34d">gc_eaddr_t</a> * </td> <td class="paramname"> <em>item_ea</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>jd_tag</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structgc__job__desc.html">gc_job_desc_t</a> * </td> <td class="paramname"> <em>item</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Remove and return item at head of queue. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>q</em> </td><td>is EA address of queue structure. </td></tr> <tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>item_ea</em> </td><td>is EA address of item at head of queue. </td></tr> <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>jd_tag</em> </td><td>is the tag to use to get the LS copy of the item. </td></tr> <tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>item</em> </td><td>is local store copy of item at head of queue. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>false if the queue is empty, otherwise returns true and sets <code>item_ea</code> and DMA's job descriptor into <code>item</code> </dd></dl> <p>If return is not GCQ_OK, we're holding a lock-line reservation that covers the queue. </p> </div> </div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:51:12 2010 for GNU Radio 3.3.0 C++ API by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>