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 ? does it wait for all thread ? If so , when it is called, it never returns(because it waits the calling thread), right?