aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flthr.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-04-09 02:40:20 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-04-09 02:40:20 +0000
commit28d14094386a69ddf05ca810114538fb2c31f8c7 (patch)
tree7d5bc28bece3f89de8e95be623e355d30ca856ed /externals/grill/flext/source/flthr.cpp
parentc91ebcd16ef0672a909b6e6a1ba144272d062768 (diff)
""
svn path=/trunk/; revision=554
Diffstat (limited to 'externals/grill/flext/source/flthr.cpp')
-rw-r--r--externals/grill/flext/source/flthr.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flthr.cpp b/externals/grill/flext/source/flthr.cpp
index d15e33d0..df8fb1a1 100644
--- a/externals/grill/flext/source/flthr.cpp
+++ b/externals/grill/flext/source/flthr.cpp
@@ -43,6 +43,12 @@ static flext::ThrCond *thrhelpcond = NULL;
bool flext::StartHelper()
{
if(thrhelpid) return true;
+
+ if(!thrid) {
+ // system thread has not been set
+ ERRINTERNAL();
+ return false;
+ }
bool ok = false;
#if FLEXT_THREADS == FLEXT_THR_POSIX
@@ -96,7 +102,7 @@ void flext::ThrHelper(void *)
pthread_attr_setdetachstate(&attr,PTHREAD_CREATE_DETACHED);
#endif
-// post("Helper");
+// post("Helper thread started");
// set thread priority one point below normal
// so thread construction won't disturb real-time audio