Tutorial: Magik Performance

Multi Threading Techniques

Gathering Things from Threads

The following code allows you to create a rope of data from individual threads. It uses the atomic_queue to wait for all threads to be completed before returning the complete set.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License