Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_msg_q_client_8c.html
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 6 43e37759235e
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582

<!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>TB9.2 Example Applications: examples/PIPS/opencmessagequeuelibraryex/exe/src/MsgQClient.c 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.2 -->
<div class="contents">
<h1>examples/PIPS/opencmessagequeuelibraryex/exe/src/MsgQClient.c File Reference</h1>
<p><a href="_msg_q_client_8c_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_msg_q_client_8c.html#aa6c400c3d8dbbba550d14cc697133e96">ThreadFunction</a> (int *id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae66f6b31b5ad750f1fe042a706a4e3d4"></a><!-- doxytag: member="MsgQClient.c::main" ref="ae66f6b31b5ad750f1fe042a706a4e3d4" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>main</b> ()</td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0df660b434dfbf2d09e64f9f96c60e1d"></a><!-- doxytag: member="MsgQClient.c::q1" ref="a0df660b434dfbf2d09e64f9f96c60e1d" args="" -->
ULONG&nbsp;</td><td class="memItemRight" valign="bottom"><b>q1</b> = 1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b583679d34f383cdb2cc7abf170149f"></a><!-- doxytag: member="MsgQClient.c::q2" ref="a5b583679d34f383cdb2cc7abf170149f" args="" -->
ULONG&nbsp;</td><td class="memItemRight" valign="bottom"><b>q2</b> = 2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31eab638a1a33b82c4d410b169b4d6f2"></a><!-- doxytag: member="MsgQClient.c::KMaxMsg" ref="a31eab638a1a33b82c4d410b169b4d6f2" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>KMaxMsg</b> = 10</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Description: A multithread program used for Testing MsgQLib library. This application will create 2 message queues and creates 2 threads passing them the queue id. These threads will send and receive messages to each other. Copyright (c) 2007 Nokia Corporation. This material, including documentation and any related computer programs, is protected by copyright controlled by Nokia Corporation. </p>

<p>Definition in file <a class="el" href="_msg_q_client_8c_source.html">MsgQClient.c</a>.</p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="aa6c400c3d8dbbba550d14cc697133e96"></a><!-- doxytag: member="MsgQClient.c::ThreadFunction" ref="aa6c400c3d8dbbba550d14cc697133e96" args="(int *id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ThreadFunction </td>
          <td>(</td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Entry point for threads This will send message to one queue and wait for some messages from other queue </p>

<p>Definition at line <a class="el" href="_msg_q_client_8c_source.html#l00029">29</a> of file <a class="el" href="_msg_q_client_8c_source.html">MsgQClient.c</a>.</p>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>