-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a rather huge change that only affects how things are run internally. From the outside, everything should still run as it did before, while from the inside things now run drastically different. The new internals of lib-datalane are designed around the kernel API instead of being designed around the target use, which results in a much smoother experience, less lost data and higher control. Internally the new API allows us to remove the use of Signals, allowing us to instead properly wait using the Kernel itself. This results in quicker and much more stabler messages. We also now send the message size with the message itself, no longer rely on the message pipe type (everything is bytes) and largely have switched to callbacks instead of one huge loop. While things still execute on the same thread anyway, this results in cleaner overall code. ipc::server is now only using a single thread to keep track of connected and disconnected clients, which results in less overhead, but makes tracking new and old clients a little bit more difficult to do. This breaks: - Client Id (not implemented yet)
- Loading branch information
Showing
9 changed files
with
619 additions
and
493 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
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
Oops, something went wrong.