зеркало из https://github.com/microsoft/caffe.git
The return value of WaitForInternalThreadToExit has reversed
This commit is contained in:
Родитель
425f69ff5b
Коммит
f2a291c0e9
|
@ -249,7 +249,7 @@ void DataLayer<Dtype>::CreatePrefetchThread() {
|
|||
|
||||
template <typename Dtype>
|
||||
void DataLayer<Dtype>::JoinPrefetchThread() {
|
||||
CHECK(!WaitForInternalThreadToExit()) << "Thread joining failed";
|
||||
CHECK(WaitForInternalThreadToExit()) << "Thread joining failed";
|
||||
}
|
||||
|
||||
template <typename Dtype>
|
||||
|
|
|
@ -172,7 +172,7 @@ void ImageDataLayer<Dtype>::ShuffleImages() {
|
|||
|
||||
template <typename Dtype>
|
||||
void ImageDataLayer<Dtype>::JoinPrefetchThread() {
|
||||
CHECK(!WaitForInternalThreadToExit()) << "Thread joining failed";
|
||||
CHECK(WaitForInternalThreadToExit()) << "Thread joining failed";
|
||||
}
|
||||
|
||||
template <typename Dtype>
|
||||
|
|
|
@ -413,7 +413,7 @@ void WindowDataLayer<Dtype>::CreatePrefetchThread() {
|
|||
|
||||
template <typename Dtype>
|
||||
void WindowDataLayer<Dtype>::JoinPrefetchThread() {
|
||||
CHECK(!WaitForInternalThreadToExit()) << "Thread joining failed.";
|
||||
CHECK(WaitForInternalThreadToExit()) << "Thread joining failed.";
|
||||
}
|
||||
|
||||
template <typename Dtype>
|
||||
|
|
Загрузка…
Ссылка в новой задаче