with my TPowerThread template as starting point, you can parallelize :
- offscreen bitmaps drawings
- blocking sockets and ports
- heavy maths computations
- compilation of files
- ... and damn much more if applied to game engines IA programming
Enjoy!
just a draft idea to let you imagine...
...Post(@TPowThreadDerived.Compile, [SourceName[idx], OutFileName[idx], CompilerPath, options], Done, @MyCallBack, ErrorsPointerBuffer);
assuming you have an array[0..Pred(cpucount)] of TPowerThread ... the speedup could be awesome around compilation
TPowerThread is a NICE TOY