wut/group__coreinit__taskq.html
2016-01-07 16:08:09 +00:00

731 lines
38 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.10"/>
<title>WUT: Task Queue</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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">WUT
&#160;<span id="projectnumber">0.1</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Task Queue</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_p_task_info.html">MPTaskInfo</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_p_task.html">MPTask</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_p_task_queue_info.html">MPTaskQueueInfo</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gaee7087c6bcc80eae0c87778ce0642862"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_m_p_task.html">MPTask</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#gaee7087c6bcc80eae0c87778ce0642862">MPTask</a></td></tr>
<tr class="separator:gaee7087c6bcc80eae0c87778ce0642862"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74cd6728633c299104ab7770af0cfe20"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_m_p_task_info.html">MPTaskInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga74cd6728633c299104ab7770af0cfe20">MPTaskInfo</a></td></tr>
<tr class="separator:ga74cd6728633c299104ab7770af0cfe20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga79f0ba78989e1380936a0b1ec7f7d57c"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga79f0ba78989e1380936a0b1ec7f7d57c">MPTaskQueue</a></td></tr>
<tr class="separator:ga79f0ba78989e1380936a0b1ec7f7d57c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a4199733e60a9f0b5f82fdd2462339a"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_m_p_task_queue_info.html">MPTaskQueueInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga5a4199733e60a9f0b5f82fdd2462339a">MPTaskQueueInfo</a></td></tr>
<tr class="separator:ga5a4199733e60a9f0b5f82fdd2462339a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc8dd7357c276cea0e6c7aba630cd5ac"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#gacc8dd7357c276cea0e6c7aba630cd5ac">MPTaskState</a></td></tr>
<tr class="separator:gacc8dd7357c276cea0e6c7aba630cd5ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga081efa5cab4a1805f988238fc50d0737"><td class="memItemLeft" align="right" valign="top">typedef uint32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga081efa5cab4a1805f988238fc50d0737">MPTaskFunc</a>) (uint32_t, uint32_t)</td></tr>
<tr class="separator:ga081efa5cab4a1805f988238fc50d0737"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga305a76301d20ba3243fb77ae6060d645"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga305a76301d20ba3243fb77ae6060d645">MPTaskState</a> { <a class="el" href="group__coreinit__taskq.html#gga305a76301d20ba3243fb77ae6060d645a41bd108d48746edb916958b84e916c12">MP_TASK_STATE_INITIALISED</a> = 1 &lt;&lt; 0,
<a class="el" href="group__coreinit__taskq.html#gga305a76301d20ba3243fb77ae6060d645a8edf21a54d9a21595dbe6b69ad0a6208">MP_TASK_STATE_READY</a> = 1 &lt;&lt; 1,
<a class="el" href="group__coreinit__taskq.html#gga305a76301d20ba3243fb77ae6060d645a150088ccca394618b5e80c529b0098a3">MP_TASK_STATE_RUNNING</a> = 1 &lt;&lt; 2,
<a class="el" href="group__coreinit__taskq.html#gga305a76301d20ba3243fb77ae6060d645a58d978af1c70ae03948e84fae5ccf985">MP_TASK_STATE_FINISHED</a> = 1 &lt;&lt; 3
}<tr class="separator:ga305a76301d20ba3243fb77ae6060d645"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaf8f7f32bd6c3a3020047b341cfdb3cab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#gaf8f7f32bd6c3a3020047b341cfdb3cab">MPInitTaskQ</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue, <a class="el" href="struct_m_p_task.html">MPTask</a> **queueBuffer, uint32_t queueBufferLen)</td></tr>
<tr class="separator:gaf8f7f32bd6c3a3020047b341cfdb3cab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad322b6fc2670bedf0dce96814de302ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#gad322b6fc2670bedf0dce96814de302ab">MPTermTaskQ</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue)</td></tr>
<tr class="separator:gad322b6fc2670bedf0dce96814de302ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad87efb0bcd5311dbf8a2fff27402c091"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#gad87efb0bcd5311dbf8a2fff27402c091">MPGetTaskQInfo</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue, <a class="el" href="struct_m_p_task_queue_info.html">MPTaskQueueInfo</a> *info)</td></tr>
<tr class="separator:gad87efb0bcd5311dbf8a2fff27402c091"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadce40551eaef50217b511f986b7e7de7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#gadce40551eaef50217b511f986b7e7de7">MPStartTaskQ</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue)</td></tr>
<tr class="separator:gadce40551eaef50217b511f986b7e7de7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5f8225fe18cb3e1aa08f9b0c6b36092d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga5f8225fe18cb3e1aa08f9b0c6b36092d">MPStopTaskQ</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue)</td></tr>
<tr class="separator:ga5f8225fe18cb3e1aa08f9b0c6b36092d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga408457cc548bbd65e9036cb5e6c377d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga408457cc548bbd65e9036cb5e6c377d0">MPResetTaskQ</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue)</td></tr>
<tr class="separator:ga408457cc548bbd65e9036cb5e6c377d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga913b557bc3962251f737c93ef371e7dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga913b557bc3962251f737c93ef371e7dc">MPEnqueTask</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue, <a class="el" href="struct_m_p_task.html">MPTask</a> *task)</td></tr>
<tr class="separator:ga913b557bc3962251f737c93ef371e7dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf262ab2c78a8f5d591a7e58e2e8f768"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_m_p_task.html">MPTask</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#gabf262ab2c78a8f5d591a7e58e2e8f768">MPDequeTask</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue)</td></tr>
<tr class="separator:gabf262ab2c78a8f5d591a7e58e2e8f768"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0406ef7f0ccf006af366fbe903a619c"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#gae0406ef7f0ccf006af366fbe903a619c">MPDequeTasks</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue, <a class="el" href="struct_m_p_task.html">MPTask</a> **queueBuffer, uint32_t queueBufferLen)</td></tr>
<tr class="separator:gae0406ef7f0ccf006af366fbe903a619c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4412a2746851057160cc4c0c7b1d4418"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga4412a2746851057160cc4c0c7b1d4418">MPWaitTaskQ</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue, MPTaskQueueState mask)</td></tr>
<tr class="separator:ga4412a2746851057160cc4c0c7b1d4418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8cb8a076f4f14222d7e200e852b5970b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga8cb8a076f4f14222d7e200e852b5970b">MPWaitTaskQWithTimeout</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue, MPTaskQueueState wmask, <a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> timeout)</td></tr>
<tr class="separator:ga8cb8a076f4f14222d7e200e852b5970b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga75d4b2103047e8fd296b5866de9082a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga75d4b2103047e8fd296b5866de9082a8">MPPrintTaskQStats</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue, uint32_t unk)</td></tr>
<tr class="separator:ga75d4b2103047e8fd296b5866de9082a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga867af11ae623d9699d922ba61bcd532e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga867af11ae623d9699d922ba61bcd532e">MPInitTask</a> (<a class="el" href="struct_m_p_task.html">MPTask</a> *task, <a class="el" href="group__coreinit__taskq.html#ga081efa5cab4a1805f988238fc50d0737">MPTaskFunc</a> func, uint32_t userArg1, uint32_t userArg2)</td></tr>
<tr class="separator:ga867af11ae623d9699d922ba61bcd532e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8402cf0a9549f74be900bd8de749e65f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga8402cf0a9549f74be900bd8de749e65f">MPTermTask</a> (<a class="el" href="struct_m_p_task.html">MPTask</a> *task)</td></tr>
<tr class="separator:ga8402cf0a9549f74be900bd8de749e65f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf1ec12f7c6a30a0a8f61da971ac3c49"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#gacf1ec12f7c6a30a0a8f61da971ac3c49">MPGetTaskInfo</a> (<a class="el" href="struct_m_p_task.html">MPTask</a> *task, <a class="el" href="struct_m_p_task_info.html">MPTaskInfo</a> *info)</td></tr>
<tr class="separator:gacf1ec12f7c6a30a0a8f61da971ac3c49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6fb130858f701962f76bbc5805a7ed30"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga6fb130858f701962f76bbc5805a7ed30">MPGetTaskUserData</a> (<a class="el" href="struct_m_p_task.html">MPTask</a> *task)</td></tr>
<tr class="separator:ga6fb130858f701962f76bbc5805a7ed30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20e77399fb66c3f54c9103bbfa348096"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga20e77399fb66c3f54c9103bbfa348096">MPSetTaskUserData</a> (<a class="el" href="struct_m_p_task.html">MPTask</a> *task, void *userData)</td></tr>
<tr class="separator:ga20e77399fb66c3f54c9103bbfa348096"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cc1e07084d4d0b8881e7f314915c148"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga4cc1e07084d4d0b8881e7f314915c148">MPRunTasksFromTaskQ</a> (<a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *queue, uint32_t count)</td></tr>
<tr class="separator:ga4cc1e07084d4d0b8881e7f314915c148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60477005296faa65930ed8923ddb41ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__taskq.html#ga60477005296faa65930ed8923ddb41ad">MPRunTask</a> (<a class="el" href="struct_m_p_task.html">MPTask</a> *task)</td></tr>
<tr class="separator:ga60477005296faa65930ed8923ddb41ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="gaee7087c6bcc80eae0c87778ce0642862"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="struct_m_p_task.html">MPTask</a> <a class="el" href="struct_m_p_task.html">MPTask</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="taskqueue_8h_source.html#l00015">15</a> of file <a class="el" href="taskqueue_8h_source.html">taskqueue.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga081efa5cab4a1805f988238fc50d0737"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint32_t(* MPTaskFunc) (uint32_t, uint32_t)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="taskqueue_8h_source.html#l00022">22</a> of file <a class="el" href="taskqueue_8h_source.html">taskqueue.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga74cd6728633c299104ab7770af0cfe20"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="struct_m_p_task_info.html">MPTaskInfo</a> <a class="el" href="struct_m_p_task_info.html">MPTaskInfo</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="taskqueue_8h_source.html#l00016">16</a> of file <a class="el" href="taskqueue_8h_source.html">taskqueue.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga79f0ba78989e1380936a0b1ec7f7d57c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> <a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="taskqueue_8h_source.html#l00017">17</a> of file <a class="el" href="taskqueue_8h_source.html">taskqueue.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga5a4199733e60a9f0b5f82fdd2462339a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="struct_m_p_task_queue_info.html">MPTaskQueueInfo</a> <a class="el" href="struct_m_p_task_queue_info.html">MPTaskQueueInfo</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="taskqueue_8h_source.html#l00018">18</a> of file <a class="el" href="taskqueue_8h_source.html">taskqueue.h</a>.</p>
</div>
</div>
<a class="anchor" id="gacc8dd7357c276cea0e6c7aba630cd5ac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint32_t <a class="el" href="group__coreinit__taskq.html#ga305a76301d20ba3243fb77ae6060d645">MPTaskState</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="taskqueue_8h_source.html#l00020">20</a> of file <a class="el" href="taskqueue_8h_source.html">taskqueue.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga305a76301d20ba3243fb77ae6060d645"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__coreinit__taskq.html#ga305a76301d20ba3243fb77ae6060d645">MPTaskState</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga305a76301d20ba3243fb77ae6060d645a41bd108d48746edb916958b84e916c12"></a>MP_TASK_STATE_INITIALISED&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga305a76301d20ba3243fb77ae6060d645a8edf21a54d9a21595dbe6b69ad0a6208"></a>MP_TASK_STATE_READY&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga305a76301d20ba3243fb77ae6060d645a150088ccca394618b5e80c529b0098a3"></a>MP_TASK_STATE_RUNNING&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga305a76301d20ba3243fb77ae6060d645a58d978af1c70ae03948e84fae5ccf985"></a>MP_TASK_STATE_FINISHED&#160;</td><td class="fielddoc">
</td></tr>
</table>
<p>Definition at line <a class="el" href="taskqueue_8h_source.html#l00024">24</a> of file <a class="el" href="taskqueue_8h_source.html">taskqueue.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gabf262ab2c78a8f5d591a7e58e2e8f768"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_m_p_task.html">MPTask</a>* MPDequeTask </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gae0406ef7f0ccf006af366fbe903a619c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MPDequeTasks </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_m_p_task.html">MPTask</a> **&#160;</td>
<td class="paramname"><em>queueBuffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>queueBufferLen</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga913b557bc3962251f737c93ef371e7dc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPEnqueTask </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_m_p_task.html">MPTask</a> *&#160;</td>
<td class="paramname"><em>task</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gacf1ec12f7c6a30a0a8f61da971ac3c49"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPGetTaskInfo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task.html">MPTask</a> *&#160;</td>
<td class="paramname"><em>task</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_m_p_task_info.html">MPTaskInfo</a> *&#160;</td>
<td class="paramname"><em>info</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gad87efb0bcd5311dbf8a2fff27402c091"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPGetTaskQInfo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue_info.html">MPTaskQueueInfo</a> *&#160;</td>
<td class="paramname"><em>info</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga6fb130858f701962f76bbc5805a7ed30"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* MPGetTaskUserData </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task.html">MPTask</a> *&#160;</td>
<td class="paramname"><em>task</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga867af11ae623d9699d922ba61bcd532e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPInitTask </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task.html">MPTask</a> *&#160;</td>
<td class="paramname"><em>task</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__taskq.html#ga081efa5cab4a1805f988238fc50d0737">MPTaskFunc</a>&#160;</td>
<td class="paramname"><em>func</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>userArg1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>userArg2</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gaf8f7f32bd6c3a3020047b341cfdb3cab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPInitTaskQ </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_m_p_task.html">MPTask</a> **&#160;</td>
<td class="paramname"><em>queueBuffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>queueBufferLen</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga75d4b2103047e8fd296b5866de9082a8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPPrintTaskQStats </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>unk</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga408457cc548bbd65e9036cb5e6c377d0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPResetTaskQ </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga60477005296faa65930ed8923ddb41ad"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPRunTask </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task.html">MPTask</a> *&#160;</td>
<td class="paramname"><em>task</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga4cc1e07084d4d0b8881e7f314915c148"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPRunTasksFromTaskQ </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>count</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga20e77399fb66c3f54c9103bbfa348096"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MPSetTaskUserData </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task.html">MPTask</a> *&#160;</td>
<td class="paramname"><em>task</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>userData</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gadce40551eaef50217b511f986b7e7de7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPStartTaskQ </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga5f8225fe18cb3e1aa08f9b0c6b36092d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPStopTaskQ </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga8402cf0a9549f74be900bd8de749e65f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPTermTask </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task.html">MPTask</a> *&#160;</td>
<td class="paramname"><em>task</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gad322b6fc2670bedf0dce96814de302ab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPTermTaskQ </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga4412a2746851057160cc4c0c7b1d4418"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPWaitTaskQ </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">MPTaskQueueState&#160;</td>
<td class="paramname"><em>mask</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga8cb8a076f4f14222d7e200e852b5970b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MPWaitTaskQWithTimeout </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_p_task_queue.html">MPTaskQueue</a> *&#160;</td>
<td class="paramname"><em>queue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">MPTaskQueueState&#160;</td>
<td class="paramname"><em>wmask</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a>&#160;</td>
<td class="paramname"><em>timeout</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</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.10
</small></address>
</body>
</html>