changed to LightweightSemaphore, and did the enqueue_bulk thing.. doesn't look very much different (only casually, unscientifically tested), but it 'feels' safer now..
the cpu usage seems to be quite similar to using bitwigs clap threadpool, except for the additional jitter/spikes..
last thing to experiment with, is the thread priorities.. did some simple tests, but i'm on shaky ground here, so i have to read/learn a little more about that.. maybe i'll postpone it a bit.. eager to get back to coding 'proper' plugins, instead of the underlying framework, heh..
the cpu usage seems to be quite similar to using bitwigs clap threadpool, except for the additional jitter/spikes..
last thing to experiment with, is the thread priorities.. did some simple tests, but i'm on shaky ground here, so i have to read/learn a little more about that.. maybe i'll postpone it a bit.. eager to get back to coding 'proper' plugins, instead of the underlying framework, heh..
Statistics: Posted by tor.helge.skei — Sun Aug 18, 2024 1:52 pm