From afd8554b4372acd52910e4834a0d8e25845b0e20 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 18 Dec 2021 09:33:51 -0700 Subject: [PATCH] triggerbox: waking up the triggerbox thread has nothing to do with RT, so remove comment etc. --- libs/ardour/triggerbox.cc | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index c8c252b1b9..c2c16af924 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -2730,19 +2730,8 @@ TriggerBoxThread::queue_request (Request* req) return; } } - if (_xthread.deliver (c) != 1) { - /* the x-thread channel is non-blocking - * write may fail, but we really don't want to wait - * under normal circumstances. - * - * a lost "run" requests under normal RT operation - * is mostly harmless. - * - * TODO if ardour is freehweeling, wait & retry. - * ditto for Request::Type Quit - */ - assert(1); // we're screwd - } + + _xthread.deliver (c); } void*