Fix SRL hang when exit. (#291)
* 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!avx_docs
parent
c64cd6feb4
commit
e05f4ff267
@ -0,0 +1,10 @@
|
||||
*.pyc
|
||||
train.log
|
||||
data/feature
|
||||
data/conll05st-release/
|
||||
data/src.dict
|
||||
data/test.wsj.props
|
||||
data/test.wsj.seq_pair
|
||||
data/test.wsj.words
|
||||
data/tgt.dict
|
||||
output
|
Loading…
Reference in new issue