asynchronics / asynchronix

High-performance asynchronous computation framework for system simulation
Apache License 2.0
170 stars 9 forks source link

New Clock abstraction is not Sendable #14

Closed robamu closed 6 months ago

robamu commented 6 months ago

I am not sure whether this is intended, but the new Clock abstraction introduced makes the Simulation struct unsendable. This is because the Clock trait does not have a Send bound and the Clock trait object field does not include a Send bound as well.

sbarral commented 6 months ago

Good catch, thanks! PR merged. And that was definitely an oversight :)