js Threads in Max 6

X37V's icon

This is driving me nuts. Is anyone else able to reproduce this or is it just me?

Open this patch in Max 5 (make sure Overdrive is on), and turn on the toggle.
The Max window should say that "JS is in thread: 0".

Close Max 5 and do the same in Max 6 (again, making sure Overdrive is on).
What does the Max window say?

Despite Overdrive being on, Max 6 tells me that "JS is in thread: 1".

3707.threadtest.js
js
Andrew Pask's icon

The immediate method is deprecated in Max 6.

JS's multi threaded implementation in Max 5 was problematic.

JS in Max 6 is single threaded.

-A

X37V's icon

Ohhhhhhhhhhh. OK. Going to try another method.

Thanks for the reply.

ak's icon

hello,

So... Max6 Documentation -> JavaScript in Max -> JavaScript and Threading - contains deprecated information. How to execute any JS in high-pri thread? Is this not allowed any more in max6? Or is there some "another method"?

best,
ak

PS. A few words at the beginning of said documentation section could save many hours for some of us.