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@hunch.net>2012-05-30 22:34:28 +0400
committerJohn Langford <jl@hunch.net>2012-05-30 22:34:28 +0400
commit5136dca05adb7bea0479aec4a63a7c4aff6d1867 (patch)
tree165cc21f5159557b8fc9e01b1ccd76e76a8f8990 /vowpalwabbit/parse_primitives.h
parenta1bed75409cfe80d2edfb97ece9f65798792bdf9 (diff)
marked nonreentrant parts
Diffstat (limited to 'vowpalwabbit/parse_primitives.h')
-rw-r--r--vowpalwabbit/parse_primitives.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vowpalwabbit/parse_primitives.h b/vowpalwabbit/parse_primitives.h
index 26d316f0..383c7e83 100644
--- a/vowpalwabbit/parse_primitives.h
+++ b/vowpalwabbit/parse_primitives.h
@@ -77,6 +77,9 @@ struct parser {
int label_sock;
int bound_sock;
int max_fd;
+
+ pthread_mutex_t output_lock;
+ pthread_cond_t output_done;
};
//chop up the string into a v_array of substring.