Is there some way to make lw4 multithreading?
Which part of lw4 do you mean? The Cam, Jog, Server?
I presume cam (gcode generation )
Ariel reads my mind. The part where I sit and wait. And look at chrome task manager and see it maxes out at 25% and I am wondering impatiently why its not done yet. But it could be because I am a cheap skate with a 10 year old dual quad xeon.
Yes the cam / gcode generation part.
Web workers
Right now we only use a single web worker so we don’t block the UI thread.
I don’t know what a web worker is but if I look at chrome task manger its pegged at 25% which makes me think its not using all of my CPUs.
Roughly speaking, a web worker is a background thread. We only use 1.
Oh. Ok. Is there a reason for that?
It takes a lot of work to split work across multiple threads. Especially in the browser, which doesn’t support shared memory between workers yet.