[ace-users] thread managing

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Wed Jul 11 07:10:56 CDT 2007


Hi Albert,

> I am programming an application that has a main thread and needs to
> create some threads (by its own, not in response to client
> connections) communicate with them, maybe stop some of them, and those
> threads need to establish TCP connections.  I'm testing the Thread
> Manager class. I think that the Reactor class cannot help me a lot (Am
> I wrong?)

It might help you, depending on what you're trying to do.  I recommend
you take a look at Chapters 6 and 7 of C++NPv2
<www.cs.wustl.edu/~schmidt/ACE/book2> for some examples.

> Do you think there's a class that could be useful to me?
> 
> I'm new to ACE and all I have is "C++ Network Programming Vol. 1 Mastering Complexity with ACE and Patterns" and some
> links. I have not found much documentation.
> 
> What kind of documentation would you recommend me that you think would be useful for my project?

You should also read C++NPv2 and the ACE Programmer's Guide, which
contain many examples.

Take care,

     Doug



More information about the Ace-users mailing list