Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should stitch things together from HEAD~2,3. By extending the monitoring mode and watchdog handling arcan-net can now interrupt the chainloaded arcan process both while busy in lua-vm state and elsewhere in the processing. This adds a reload command to the monitoring mode, as well as unpacking an update appl into a .new folder. When the unpack is completed, chainloaded arcan jumps into monitoring mode, -net switches applname.new over to just applname and proceeds to tell arcan to reload the current app. This triggers a behaviour similar to system_collapse(self) with the regular adopt etc. procedure. There are more variants to handle with this - e.g. allowing the user to block this behaviour, to handle revert should the new appl be buggy and so on but this should be enough to test the general behaviour in a more networked setting.
- Loading branch information
Showing
4 changed files
with
152 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters