Status/Resolution/Reason: To Test//Fixed
Reporter/Name(from Bugbase): Luis Majano / Luis Majano ()
Created: 04/13/2017
Components: Language
Versions: 2016
Failure Type: Others
Found In Build/Fixed In Build: /
Priority/Frequency: Normal /
Locale/System: / Linux All
Vote Count: 5
Add the ability to add parallel flags to xEach() functions and loop constructs. This has existed in Lucee since the railo days. You can see example here: http://cfdocs.org/arrayeach
letters = ["a","b","c","d"];
arrayEach(letters, function(element,index)
{
writeOutput("#index#:#element#;");
}, true, 3 );
Basically you receive two extra arguments:
- parallel:boolean to run the loop in parallel threads
- maxthreads:numeric max number of threads to execute the loop in parallel
Attachments:
Comments: