user guide: add Barriers section
This commit is contained in:
1 parent
51a9dd365f
commit
94f808b1fc
1 file changed
+12
@@ -730,6 +730,18 @@ Post-build hooks are only invoked if the build operation was a success.
|
|||||||
|
|
||||||
Build hooks and post-build hooks can register new build targets.
|
Build hooks and post-build hooks can register new build targets.
|
||||||
|
|
||||||
|
###> Barriers
|
||||||
|
|
||||||
|
Normally Rscons will parallelize all builders.
|
||||||
|
A barrier can be used to separate sets of build targets.
|
||||||
|
All build targets registered before the barrier is created will be built before
|
||||||
|
Rscons will schedule any build targets after the barrier.
|
||||||
|
In other words, build targets are not parallelized across a barrier.
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
env.barrier
|
||||||
|
```
|
||||||
|
|
||||||
##> Extending Rscons
|
##> Extending Rscons
|
||||||
|
|
||||||
### Adding New Languages
|
### Adding New Languages
|
||||||
|
|||||||
Reference in new issue
Block a user