From 23a55c53fe55be1dd3174ba40d92d702acab9407 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 27 Jun 2012 15:09:00 +0000 Subject: [PATCH] core: workaround for systems that don't like thread exiting early. --- src/ticker.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ticker.cpp b/src/ticker.cpp index fa02381b..a3c67194 100644 --- a/src/ticker.cpp +++ b/src/ticker.cpp @@ -312,6 +312,10 @@ void *TickerData::DrawThreadMain(void * /* p */) void *TickerData::DiskThreadMain(void * /* p */) { +#if defined __CELLOS_LV2__ + /* FIXME: temporary hack to avoid crashes */ + for (;;); +#endif return NULL; }