ATT Labs

An archive of

AT&T Laboratories
Cambridge

hosted in
conjunction
with

Cambridge University Computer Laboratory

The Digital Technology Group

Home Page

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 omniorb@uk.research.att.com. We'd like to hear from you.

Contact information
Copyright © 2002 AT&T Laboratories Cambridge