On Sunday, 8 April 2012 at 22:17:43 UTC, Somedude wrote:

Well, you can always do something like this:

version (parallel)
{
  import std.parallelism;
  // multithreaded
  ...
}
else
{
  // single thread
  ...
}

Or rather:

// single thread zip
...
version (parallel)
{
   import std.parallelism;
   // multithreaded
   ...
}

ok, I'll look at doing that.  Thanks.


Reply via email to