Skip to content

Conversation

@reyoung
Copy link
Collaborator

@reyoung reyoung commented Feb 6, 2018

Change the behaviour of a thread pool. Thread pool will ignore the
thrown exception implicitly. It is hard to debug.
Currently, ThreadPool::Run will invoke LOG(FATAL) if an exception
thrown.

Fix #8180

Change the behaviour of thread pool. Thread pool will ignore the thrown exception implicitly. It is hard to debug. Corrently, ThreadPool::Run will invoke `LOG(FATAL)` if an exception thrown.
@reyoung reyoung force-pushed the feature/add_exception_for_thread_pool branch from 3c3bed0 to c966c28 Compare February 6, 2018 05:46
@reyoung reyoung requested a review from Yancey0623 February 6, 2018 07:39
Copy link
Contributor

@Yancey0623 Yancey0623 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@reyoung reyoung merged commit 8499460 into PaddlePaddle:develop Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants