[Scons-users] Scanner / Builder Race Condition?

Brian Cody brian.j.cody at gmail.com
Mon Feb 22 16:53:51 EST 2016


William,

Source code and instructions found within:
http://pastebin.com/KSkjkszp

It produced the error on the first try. While the project file was being
scanned, it was rebuilt out from under it. Given the simplicity of the test
app, nothing broke, but it should be obvious why it could!

c:\workdir\software2\projects\test>scons -j 2
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scanning project.prj
done scanning project.prj
>scanning project.prj
>>>>create_project_file(["project.prj"], ["source_1.dat", "source_2.dat"])
>>>>building project.prj
>done scanning project.prj
done building project.prj
scanning project.prj
done scanning project.prj
version_action(["derp.txt"], ["project.prj"])
compiler_action(["out.bin"], ["project.prj", "derp.txt"])
creating out.bin
done creating out.bin
scons: done building targets.


Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160222/3f36f8a7/attachment.html>


More information about the Scons-users mailing list