diff options
author | John Langford <jl@jl-desktop.(none)> | 2010-09-08 20:40:26 +0400 |
---|---|---|
committer | John Langford <jl@jl-desktop.(none)> | 2010-09-08 20:40:26 +0400 |
commit | 684820f5823af570c32c2452bcdfc269bc70a5f5 (patch) | |
tree | 62a5fcbf2e849a4c3d0e0df11f53da4b5fc9e4aa /parser.cc | |
parent | b86b40f937fdf10b8c449b6da36bde2d013ddc41 (diff) |
helgrind ok
Diffstat (limited to 'parser.cc')
-rw-r--r-- | parser.cc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -643,6 +643,7 @@ void start_parser(size_t num_threads, parser* pf) for (size_t i = 0; i < ring_size; i++) { pthread_mutex_init(&examples[i].lock,NULL); + pthread_cond_init(&examples[i].finished_sum,NULL); examples[i].ld = calloc(1,pf->lp->label_size); examples[i].in_use = false; } |