diff options
| author | Christian Kandeler <christian.kandeler@digia.com> | 2013-11-22 12:24:27 +0100 |
|---|---|---|
| committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-11-25 13:21:51 +0100 |
| commit | d7656eef2decad018759cae7f18c4e66c3a688bf (patch) | |
| tree | c655d6b323900ff7a3d52818028498a6d8b293aa /src/lib/buildgraph/artifactvisitor.h | |
| parent | b46a9a08fd48872cffb622ed1dd596087a6e7a4c (diff) | |
| download | qbs-d7656eef2decad018759cae7f18c4e66c3a688bf.tar.gz | |
Lock the build graph while jobs are running.
All jobs except setting up the project are mutually exclusive, and it is
also forbidden to change the project internally while they are going on.
Currently, ignoring this requirement leads to undefined behavior. Since
we can detect such a condition and react in a defined way, we should do
it.
Note: This is about the API and the in-memory build graph, not about
competing accesses to the stored build graph from different processes.
That's a different (and more difficult) problem.
Change-Id: I2d8a715334b2b73b4f4d32781d0b4f83b1612d40
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/buildgraph/artifactvisitor.h')
0 files changed, 0 insertions, 0 deletions
