1
0
forked from ROMEO/nexosim
Commit Graph

17 Commits

Author SHA1 Message Date
0abc520e4b Split sinks and source registries
This makes it possible to concurrently control and monitor the
simulation when using gRPC.
Accordingly, the gRPC server now runs on 2 threads so it can serve
control and monitoring requests concurrently.
2024-06-12 11:20:34 +02:00
59d2af51ba Expose the Protobuf simulation service to WASM/JS 2024-05-27 23:33:02 +02:00
77e6e569ff Add same-thread executor support 2024-05-27 23:12:45 +02:00
02eec1b277 Add test and improve example 2024-05-08 11:20:33 +02:00
af3d68e76f Force the waker VTable to be uniquely instantiated
From Rust 1.78, `Waker::will_wake` tests equality by comparing the VTable
pointers rather than the content of the VTable.

Unfortunately, this exposes some instability in the code generation
which sometimes causes several VTables to be instantiated in memory for
the same generic parameters. This can in turn defeat `Waker::will_wake`
if e.g. `Waker::clone` and `Waker::wake_by_*` end up with different
pointers.

The problemt is hopefully addressed by preventing inlining of the VTable
generation function. A test has been added to try to detect regression,
though the test may not be 100% reliable.
2024-05-07 01:37:47 +02:00
e4b108c6b7 Satisfy newest clippy 2024-05-06 16:45:07 +02:00
9956c4fa3f CI: add --all-features and force check on dev 2024-04-26 13:43:06 +02:00
7526ffbcea Add setup step. 2024-04-26 11:48:11 +02:00
e84e802f09 Initial (g)RPC implementation 2024-04-25 11:12:54 +02:00
8d3427daaf Fix CI script 2024-04-04 13:37:21 +02:00
8e16f8c9b2 small fix for new serde dependency 2024-03-13 11:10:26 +01:00
1be2f48a00 Revert "Merge pull request #12 from asynchronics/feature/event-sinks"
This reverts commit 7e881afb63, reversing
changes made to 9d78e4f72a.
2024-03-06 16:16:55 +01:00
863f995f1b Small changes and cleanups to prepare the RPC work 2024-02-19 13:20:02 +01:00
ef703f5b7e Add support for custom/real-time clocks 2023-08-29 12:46:40 +02:00
31520d461a First release candidate for v0.1.0 2023-01-16 23:05:46 +01:00
fe00ee0743 Remove unmaintained action-rs GH actions in CI 2022-11-04 15:16:03 +01:00
5c94ec6a65 First public commit 2022-10-12 05:33:16 +02:00