[ace-users] threads

Albert Sanchez ouferrat at gmail.com
Thu Jul 5 09:18:20 CDT 2007


Thanks!!

I changed

#include "ace/config-linux-common.h"

in ace/config.h for

#include "ace/config-linux.h"

and it works now :-)



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


-- 
"Computer science is no more about computers than astronomy is about
telescopes."
Edsger Dijkstra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070705/efe1e5fb/attachment-0001.htm


More information about the Ace-users mailing list