From 4215d864c0baf21a4f67ed3fe44e642b84708197 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 5 Mar 2003 04:40:52 +0000 Subject: "" svn path=/trunk/; revision=453 --- externals/grill/flext/source/flthr.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'externals/grill/flext/source/flthr.cpp') diff --git a/externals/grill/flext/source/flthr.cpp b/externals/grill/flext/source/flthr.cpp index 9ad4d75f..d2430041 100644 --- a/externals/grill/flext/source/flthr.cpp +++ b/externals/grill/flext/source/flthr.cpp @@ -65,6 +65,12 @@ bool flext::StartHelper() #endif if(!ok) error("flext - Could not launch helper thread!"); + else { + // now we have to wait for thread helper to initialize + while(!thrhelpid || !thrhelpcond) Sleep(0.001); + + // we are reading for threading now! + } return ok; } -- cgit v1.2.1