diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-07-31 10:44:56 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | afae4dce33708473d2b85b7acd5a0bf074f679f7 (patch) | |
tree | a19a5a86e656770ffa23a7b7ea9b226291ab8434 /src | |
parent | 0.26.6 prepare for parallelism, remove __gshared (diff) |
0.27.0 parallelize doc processing
- std.parallelism
Diffstat (limited to 'src')
-rwxr-xr-x | src/sdp/sdp.d | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sdp/sdp.d b/src/sdp/sdp.d index 20b2228..9d91d10 100755 --- a/src/sdp/sdp.d +++ b/src/sdp/sdp.d @@ -22,6 +22,7 @@ import sdp.source.read_config_files, sdp.source.read_source_files, sdp.output.hub; +import std.parallelism; mixin(import("version.txt")); mixin CompileTimeInfo; /++ @@ -403,7 +404,7 @@ void main(string[] args) { } } if (_manifests.length > 1) { // _manifests[0] initialized dummy element - foreach(manifest; _manifests[1..$]) { + foreach(manifest; parallel(_manifests[1..$])) { if (!empty(manifest.src.filename)) { scope(success) { if (!(_opt_action.quiet)) { @@ -476,5 +477,3 @@ void main(string[] args) { } } } -unittest { -} |