aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flqueue.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-28 04:57:18 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-28 04:57:18 +0000
commit966b830f95253c0c3c3b4675189270954ab9e153 (patch)
treeabd528bf8c812582174214cd36e635b94404796f /externals/grill/flext/source/flqueue.cpp
parent3e86a4527748e5de5c091ffcb4ae5ac2dd8abd8a (diff)
Max: use high-priority click instead of qelem for message-posting
svn path=/trunk/; revision=2551
Diffstat (limited to 'externals/grill/flext/source/flqueue.cpp')
-rwxr-xr-xexternals/grill/flext/source/flqueue.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flqueue.cpp b/externals/grill/flext/source/flqueue.cpp
index e6ec9326..151bcb5e 100755
--- a/externals/grill/flext/source/flqueue.cpp
+++ b/externals/grill/flext/source/flqueue.cpp
@@ -207,7 +207,8 @@ static Queue queue;
#if FLEXT_QMODE == 2
static flext::ThrCond qthrcond;
#elif FLEXT_QMODE == 0
-static t_qelem *qclk = NULL;
+//static t_qelem *qclk = NULL;
+static t_clock *qclk = NULL;
#endif
@@ -308,7 +309,8 @@ static void Trigger()
#endif
#elif FLEXT_SYS == FLEXT_SYS_MAX
#if FLEXT_QMODE == 0
- qelem_set(qclk);
+// qelem_front(qclk);
+ clock_delay(qclk,0);
#endif
#elif FLEXT_SYS == FLEXT_SYS_JMAX
#if FLEXT_QMODE == 0
@@ -344,7 +346,8 @@ void flext_base::StartQueue()
#elif FLEXT_QMODE == 2
LaunchThread(QWorker,NULL);
#elif FLEXT_QMODE == 0 && (FLEXT_SYS == FLEXT_SYS_PD || FLEXT_SYS == FLEXT_SYS_MAX)
- qclk = (t_qelem *)(qelem_new(NULL,(t_method)QTick));
+// qclk = (t_qelem *)(qelem_new(NULL,(t_method)QTick));
+ qclk = (t_clock *)(clock_new(NULL,(t_method)QTick));
#else
#error Not implemented!
#endif