Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@jl-desktop.(none)>2010-09-08 20:40:26 +0400
committerJohn Langford <jl@jl-desktop.(none)>2010-09-08 20:40:26 +0400
commit684820f5823af570c32c2452bcdfc269bc70a5f5 (patch)
tree62a5fcbf2e849a4c3d0e0df11f53da4b5fc9e4aa /parser.cc
parentb86b40f937fdf10b8c449b6da36bde2d013ddc41 (diff)
helgrind ok
Diffstat (limited to 'parser.cc')
-rw-r--r--parser.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser.cc b/parser.cc
index 2733dbc9..130a1890 100644
--- a/parser.cc
+++ b/parser.cc
@@ -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;
}