[plt-scheme] embedding: scheme_check_threads question

From: Dave Griffiths (dave at pawfal.org)
Date: Wed Apr 22 12:37:51 EDT 2009

Hi all,

I've got a bit confused reading the docs on scheme_check_threads:

I've noticed that plt threads running in fluxus tend to get starved in
an erratic fashion. The answer seems to be this function, but I'm a
little confused by the timer example, is the general idea to
periodically call it while threads are active? (using

I have a periodic update loop (the interpreter gets run once per frame)
so I've tried calling scheme_check_threads every update without much
luck, however, calling it 100 times in a loop every frame (!) seems to
fix my problem by giving enough time to the threads - but also causes
lockups in other situations. 

What am I missing?



Posted on the users mailing list.