Skip to content
Commit b59388fb authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Turn ParallelWrap into singleton class.

Otherwise we need to pass around the ParallelWrap instance or config
for it, which is annoying.  Parallelization is more of an implementation
detail - passing it explicitly to every class that needs to make use
of it doesn't really fit to the interface of these classes.  We
shouldn't need to change the interface when switching from normal each
loop to parallel each.  So a singleton class it is.
parent d01dbb04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment