c++/5313: unable to catch exceptions thrown from subthreads during destruction of global objects in shared libraries

nathan@gcc.gnu.org nathan@gcc.gnu.org
Fri Apr 26 07:31:00 GMT 2002


Synopsis: unable to catch exceptions thrown from subthreads during destruction of global objects in shared libraries

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Fri Apr 26 07:31:53 2002
State-Changed-Why:
    main should wait until all sub threads have terminated. From
    the solaris pthread_create man page
    
     Example 2: If main() had not waited for  the  completion  of
         the    other    threads    (using    pthread_join(3THR)   or
         thr_join(3THR)), it would have  continued  to  process  con-
         currently  until  it  reached the end of its routine and the
         entire process would have exited prematurely (see exit(2)).
    
    
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5313



More information about the Gcc-prs mailing list