BookmarkSubscribe
Choose Language Hide Translation Bar
Highlighted
guillaumebugnon
Community Trekker

jsl mult-processing

Hi,

 

Is there a way to write jsl in order to have parrellel treatmeants and not only sequencial one ?

For example, I want to launch 4 times one function and wait for the 4 results.

MyListResult1 = MyCustomFunction(datatable1);
MyListResult2 = MyCustomFunction(datatable2);
MyListResult3 = MyCustomFunction(datatable3);
MyListResult4 = MyCustomFunction(datatable4);

I can also use "for" loop but still remain sequential.

 

Thanks

 

0 Kudos
1 REPLY 1

Re: jsl mult-processing

You can find an example of how to use JSL's Parallel Assign to perform simple tasks in multiple threads in the response to this post: https://community.jmp.com/t5/JMP-Wish-List/Multithreading-in-JSL/idi-p/49459
Justin