Thanks!!<br>
<br>
I changed <br><br>#include &quot;ace/config-linux-common.h&quot; <br><br>in ace/config.h for <br><br>#include &quot;ace/config-linux.h&quot;<br><br>and it works now :-)<br>
<br>
<br><br><div><span class="gmail_quote">On 05/07/07, <b class="gmail_sendername">Matthew Gillen</b> &lt;<a href="mailto:mgillen@bbn.com">mgillen@bbn.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is where the usual mantra of &quot;Use the PRF&quot; comes in.&nbsp;&nbsp;But generally if<br>you&#39;ve set up ace/config.h correctly, it should already be defined (unless<br>you&#39;re on some whacky platform that doesn&#39;t support threads, and therefore
<br>ACE can&#39;t support them).<br><br>Matt<br><br>Albert Sanchez wrote:<br>&gt; Thanks Matthew,<br>&gt;<br>&gt; Now I realized I have ACE_HAS_THREADS not defined. Is it normal? How can<br>&gt; i define it?<br>&gt;<br>&gt; Thanks,
<br>&gt; Albert<br>&gt;<br>&gt; On 05/07/07, *Matthew Gillen * &lt;<a href="mailto:mgillen@bbn.com">mgillen@bbn.com</a><br>&gt; &lt;mailto:<a href="mailto:mgillen@bbn.com">mgillen@bbn.com</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Albert Sanchez wrote:
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Hello!<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I am looking the book for some examples of thread management with ACE.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; The ones I&#39;ve found are very complicated.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I want to make a &quot;Multi Hello World :-)&quot; program that creates some
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; threads and each thread says &quot;Hello I&#39;m thread i&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Could you indicate me some basic ideas and methods and classes to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; accomplish this?<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; This is about the simplest example:
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://svn.dre.vanderbilt.edu/viewvc/Middleware/trunk/ACE/examples/Threads/reader_writer.cpp?revision=73737&amp;view=markup">https://svn.dre.vanderbilt.edu/viewvc/Middleware/trunk/ACE/examples/Threads/reader_writer.cpp?revision=73737&amp;view=markup
</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="https://svn.dre.vanderbilt.edu/viewvc/Middleware/trunk/ACE/examples/Threads/reader_writer.cpp?revision=73737&amp;view=markup">https://svn.dre.vanderbilt.edu/viewvc/Middleware/trunk/ACE/examples/Threads/reader_writer.cpp?revision=73737&amp;view=markup
</a>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; HTH,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Matt<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; &quot;Computer science is no more about computers than astronomy is about<br>&gt; telescopes.&quot;<br>&gt; Edsger Dijkstra
<br><br></blockquote></div><br><br clear="all"><br>-- <br>"Computer science is no more about computers than astronomy is about telescopes."<br>Edsger Dijkstra