diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2018-03-24 14:03:54 +0100 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2018-03-24 14:03:54 +0100 |
commit | 526ce502e5b7bce1e3577696b2c41564f7248920 (patch) | |
tree | 9d00520d17f296c3a7544bb11281e1c5f6f3fb19 /tests/utils.scm | |
parent | d63db1ce4e8b30459bd3e67da619531f2741f9bf (diff) | |
download | mcron-526ce502e5b7bce1e3577696b2c41564f7248920.tar.gz mcron-526ce502e5b7bce1e3577696b2c41564f7248920.tar.bz2 mcron-526ce502e5b7bce1e3577696b2c41564f7248920.zip |
base: Box 'number-children'
* src/mcron/base.scm (number-children): Box it using SRFI-111 to be
explicit about the mutability of this object.
(update-number-children!): New procedure.
(run-job, child-cleanup): Use it.
* tests/base.scm ("update-number-children!: 1+")
("number-children: init", "update-number-children!: 1-"): New tests.
Diffstat (limited to 'tests/utils.scm')
0 files changed, 0 insertions, 0 deletions