Is this should work?
markov via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Oct 16 15:22:25 PDT 2016
void test(string line){
...
};
void main(){
string[] list;
foreach (line; list)
new Thread({test(line);}).start();
...
}
More information about the Digitalmars-d-learn
mailing list