[ace-users] question about ACE_Thread_Manager::wait()

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Thu Jun 14 00:45:46 CDT 2007


>Version: 5.5.8
>host: windows xp sp2, suse linux enterprise server 9 sp2
>compiler: vs.net 2003, gcc 3.3.3
>What's the usage of this function ?

It waits for all threads running in that manager instance to exit,
then it returns.

> does it wait for all thread ?

Please see Chapter 9 of C++NPv1 <www.cs.wustl.edu/~schmidt/ACE/book1/>
for details.

> If so , when it is called, it never returns(because it waits the
>calling thread), right?



Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu

More information about the Ace-users mailing list