Repository navigation
Discussion on May 31 #119
Replies: 5 comments
|
|
CoerceUnsized and DispatchFromDyn cannot be implemented for ShmNonNull, hence our mrpc's Box does not support casting to trait object (e.g., Box as Box). Just take a note on it. I don't think this is needed. |
|
ShmView should not be !Send and !Sync. When ShmView is dropped or to_owned, it sends the addr of all recv_mr it uses (i.e., all SgList elements). Each recv_mr is uniquely belongs to a user-app thread / rpcadapter engine, it must be reposted by the same rpcadapter engine. So the user thread who receives the message (ShmView) must also be the one to dealloc it. |
|
ShmView should have a lifetime less than that of the client/server |
|
Consider the case where a user thread can have multiple clients / servers. Garbage collection becomes more compelx in this case. |
Uh oh!
There was an error while loading. Please reload this page.
All reactions