You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version is still pretty much what I drafted up initially. The design has shown a few flaws over time, which should be addressed in a new version. Here is an overview:
If I'm not mistaken, sharing in a single execution context (!Send) can be done with even less overhead than the current NullMutex. This should be explored.
A macro should be added for pushing the bus-manager into a static mut, thus giving the references a &'static lifetime which makes sharing between tasks much easier. Ref. How to embed this (resolving lifetime constraints) #13
Try to reduce type-signature sizes with type aliases as much as possible. Because statics require full signatures, it would be great to keep their length as small as possible.
The current version is still pretty much what I drafted up initially. The design has shown a few flaws over time, which should be addressed in a new version. Here is an overview:
lock-api. Ref. Feature to support Mutex fromparking_lotas an alternative tostd#9!Send) can be done with even less overhead than the currentNullMutex. This should be explored.static mut, thus giving the references a&'staticlifetime which makes sharing between tasks much easier. Ref. How to embed this (resolving lifetime constraints) #13statics require full signatures, it would be great to keep their length as small as possible.