ATT Labs

AT&T Laboratories
Cambridge

Home page About Us Interactive research Software Opportunities

omniORB2 - patch for NextStep 3.3

Report number 11

Reported by Lars Immisch

Date 12 March 1998

Platforms NextStep 3.3

Version omniORB_2.5.0

Description omni_thread::join throws an exception when an undetached thread returns.

Patch
Apply the following patch to src/lib/omnithread/mach.cc :
***************
*** 467,473 ****
  
    DB(cerr << "omni_thread::join: doing cthread_join\n");
  
!  *status = cthread_join(mach_thread);
  
    delete this;
  }
--- 467,474 ----
  
    DB(cerr << "omni_thread::join: doing cthread_join\n");
  
!   int rc = cthread_join(mach_thread);
!   if (rc != 0) throw omni_thread_fatal(rc);
  
    delete this;
  }



Action This patch will be incorporated in the next release.

[ omniORB main page| Technical details| Performance measurements|
Documentation| Download a free distribution]

If you need more information, contact [email protected]. We'd like to hear from you.

For comments, suggestions and further information please contact us.
Copyright © 2001 AT&T Laboratories Cambridge