[LV2] worker thread question
David Robillard
d at drobilla.net
Sun Dec 30 08:05:22 PST 2012
On Sun, 2012-12-30 at 08:16 +0100, hermann meyer wrote:
[...]
> > Furthermore your thread is kicked at fixed intervals, while it does not
> > do much work, this still causes a context switch every ~200ms. Surely a
> > low-latency machine has better things to do..
> surly a low-level machine have better things to do then check exactly
> that every ~5ms in the rt-context.
A context switch and memory barrier is literally hundreds if not
thousands of times slower than a comparison.
-dr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20121230/5376622a/attachment-0002.pgp>
More information about the Devel
mailing list