In order to speed up some rather lengthy processing I've moved the task
into its own ::method Work within ::class Worker. I'm then starting a
number of worker threads with …
Threads=.array~new
do Core=1 to Cores
Threads~append(.Worker~new~start('WORK',Core,Cores))
end
… and collect their results by …
T=0
do Thread over Threads
T+=Thread~result
end
I can see that the threads are running concurrently, their results are
fine, but all threads seem to be running on a single core only,
How can I utilize all existing cores on a multi-core CPU?
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users