• Y
    Fix SRL hang when exit. (#291) · e05f4ff2
    Yu Yang 提交于
    * Fix SRL hang when exit.
    
    * Error occurred when enable Async Load in TestDataProvider.
      * It because DataProvider is calling getNextBatchInternal in one thread, and destructing DataProvider in other thread.
      * Add wait routine in DataProvider destructing.
    * Also fix another bug, when destructing TestDataProvider and do not read any test data.
    
    Fix #286
    
    * Follow comments, Use mutex is cool!
    e05f4ff2
test_PyDataProvider2.cpp 12.3 KB