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:
authorDaniel Hsu <djhsu@research-mm7.corp.sp1.yahoo.com>2009-08-26 21:09:27 +0400
committerJohnLangford <jl@hunch.net>2009-08-27 00:21:04 +0400
commit42c54fc6ba8224eed56c582f9b52b4aa8d1350af (patch)
treefa95e445346ef90d41f183fa85136bb839bb16e0 /parse_example.h
parent443d882e32d15c24d3833f9c3da24c5318ec88a1 (diff)
Fixed pthread_cond_wait bug due to spurious wakeups.
Signed-off-by: JohnLangford <jl@hunch.net>
Diffstat (limited to 'parse_example.h')
-rw-r--r--parse_example.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse_example.h b/parse_example.h
index e0b9938a..92918de7 100644
--- a/parse_example.h
+++ b/parse_example.h
@@ -72,6 +72,7 @@ struct example
pthread_mutex_t lock; //thread coordination devices
size_t threads_to_finish;
bool in_use; //in use or not (for the parser)
+ bool done; //set to false by setup_example()
};
//parser control