Open Thomasdezeeuw opened 7 months ago
Signals::receive_signals
is an example of where an owned version was needed.
Inventory.
Futures that take ownership of SubmissionQueue
:
net::Socket
process:WaitId
process:ReceiveSignals
(by design)fs::Rename
fs::Delete
fs::Open
fs::CreateDir
msg::MsgListener
Futures that take a reference to SubmissionQueue
:
msg::SendMsg
poll::OneshotPoll
poll::
SubmissionQueue`.
Currently some Futures own a SubmissionQueue, others take a reference to it. It would be to have a mechanism where we can support both.
Maybe it's a simple as adding
<SQ: AsRef<SubmissionQueue>>
instead of using a SubmissionQueue.