[Parc-users] update for error handling in thread pool
Brought to you by:
pmckinstry
From: Pete M. <pet...@ya...> - 2003-09-13 05:56:03
|
I made a change to the threadpool impl & the output records task to more properly handle uncaught exceptions during output adapter processing. Thanks Vaibhav for reporting this error. The output records task was changed to catch throwable & report it as a fatal exception (just like processingexception, auditexception, and transactionexception) The threadpoolimpl was hanging when a worker thread exited improperly. It was waiting in the join() method for each worker thread to mark the work complete. If the thread exited w/ a runtime or other uncaught exception, the flag was never flipped. It's been changed to check for work complete OR thread death. These fixes only affect improperly coded output adapters. -pgm __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |