Thanks!!<br>
<br>
I changed <br><br>#include "ace/config-linux-common.h" <br><br>in ace/config.h for <br><br>#include "ace/config-linux.h"<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> <<a href="mailto:mgillen@bbn.com">mgillen@bbn.com</a>> 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 "Use the PRF" comes in. But generally if<br>you've set up ace/config.h correctly, it should already be defined (unless<br>you're on some whacky platform that doesn't support threads, and therefore
<br>ACE can't support them).<br><br>Matt<br><br>Albert Sanchez wrote:<br>> Thanks Matthew,<br>><br>> Now I realized I have ACE_HAS_THREADS not defined. Is it normal? How can<br>> i define it?<br>><br>> Thanks,
<br>> Albert<br>><br>> On 05/07/07, *Matthew Gillen * <<a href="mailto:mgillen@bbn.com">mgillen@bbn.com</a><br>> <mailto:<a href="mailto:mgillen@bbn.com">mgillen@bbn.com</a>>> wrote:<br>><br>> Albert Sanchez wrote:
<br>> > Hello!<br>> ><br>> > I am looking the book for some examples of thread management with ACE.<br>> > The ones I've found are very complicated.<br>> ><br>> > I want to make a "Multi Hello World :-)" program that creates some
<br>> > threads and each thread says "Hello I'm thread i"<br>> > Could you indicate me some basic ideas and methods and classes to<br>> > accomplish this?<br>><br>> This is about the simplest example:
<br>> <a href="https://svn.dre.vanderbilt.edu/viewvc/Middleware/trunk/ACE/examples/Threads/reader_writer.cpp?revision=73737&view=markup">https://svn.dre.vanderbilt.edu/viewvc/Middleware/trunk/ACE/examples/Threads/reader_writer.cpp?revision=73737&view=markup
</a><br>> <<a href="https://svn.dre.vanderbilt.edu/viewvc/Middleware/trunk/ACE/examples/Threads/reader_writer.cpp?revision=73737&view=markup">https://svn.dre.vanderbilt.edu/viewvc/Middleware/trunk/ACE/examples/Threads/reader_writer.cpp?revision=73737&view=markup
</a>><br>><br>> HTH,<br>> Matt<br>><br>><br>><br>><br>> --<br>> "Computer science is no more about computers than astronomy is about<br>> telescopes."<br>> 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