Cyrus Najmabadi 11d19e3019 Fix issue with cancellation corrupting LS state.
The problem here was as follows:
1) Host calls into the LS to do some sort of operation.
2) LS tries to synchronize with the host.
3) During synchronization we attempt to create a new program.
4) Creating the new program causes us to incrementally update some source files.
5) Incrementally updating a source file produces a new source file, and invalidates the old one.
6) *Then* the host asks to cancel this operation.
7) THe synchronization process cancels itself, leaving the LS in an inconsistent state where some
   of its source files have had their trees updated, but the information about the source file still
   thinks that we have the previous version.

The fix is to not allow cancellation during host synchronization.  Once we start, we have to go
all the way to completion.
2015-02-09 17:15:29 -08:00
..
2015-01-12 23:34:21 +01:00
2015-01-14 23:22:04 +01:00
2014-12-16 16:17:48 -08:00
2014-12-16 18:50:34 -08:00