Forums > Javascript

js Threads in Max 6

April 14, 2012 | 2:09 pm

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".

Attachments:
  1. threadtest.js

April 14, 2012 | 2:16 pm

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


April 14, 2012 | 2:21 pm

Ohhhhhhhhhhh. OK. Going to try another method.

Thanks for the reply.



ak
April 15, 2012 | 4:34 pm

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.


Viewing 4 posts - 1 through 4 (of 4 total)