feat(bkgpslog):Force ordered write operations with wait
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Thu, 2 Jul 2020 16:05:04 +0000 (16:05 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Thu, 2 Jul 2020 16:05:04 +0000 (16:05 +0000)
commit872c737e707a757ea1e33d3b7a0ed96881d72de4
tree3f4c003533fe2bcd98dcdb4e769ac0d4d33a1a8c
parent1b0e622772dd3a08ccce04a0fb201ec18b6a079d
feat(bkgpslog):Force ordered write operations with wait

Use `wait` built-in to force each detached process that appends
location data to the output tar to wait until all other detached
processes complete. This will prevent the magicWriteBuffer() and
appendArgTar() functions from attempting to append to the same tar at
the same time, causing script failure.
exec/bkgpslog
exec/bkgpslog-plan.org