omniORB2 - patch for NextStep 3.3
Report number 11Reported 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.
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
