aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.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/flsupport.cpp
parentc91ebcd16ef0672a909b6e6a1ba144272d062768 (diff)
""
svn path=/trunk/; revision=554
Diffstat (limited to 'externals/grill/flext/source/flsupport.cpp')
-rw-r--r--externals/grill/flext/source/flsupport.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flsupport.cpp b/externals/grill/flext/source/flsupport.cpp
index dcac4c75..26ddc51f 100644
--- a/externals/grill/flext/source/flsupport.cpp
+++ b/externals/grill/flext/source/flsupport.cpp
@@ -31,6 +31,11 @@ const t_symbol *flext::sym_signal = NULL;
void flext::Setup()
{
+ static bool issetup = false;
+ if(issetup)
+ return;
+ else issetup = true;
+
#if FLEXT_SYS == FLEXT_SYS_PD
sym_anything = &s_anything;
sym_pointer = &s_pointer;
@@ -57,6 +62,7 @@ void flext::Setup()
#endif
#ifdef FLEXT_THREADS
+ thrid = GetThreadId();
StartHelper();
#endif
}