MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / Queue

Method Queue

LibLemon/include/lemon/ipc/interface.h:75–77  ·  view source on GitHub ↗

//////////////////////// \brief Interface::Queue(endpoint, m) - Create a new interface Create a new interface. Interfaces allow clients to open connections to a service \param endpoint (handle_t) Handle ID of endpoint \param m (const Message&) Message to send ////////////////////////

Source from the content-addressed store, hash-verified

73 /// \param m (const Message&) Message to send
74 /////////////////////////////
75 inline long Queue(handle_t h, Message& m) const{
76 return EndpointQueue(h, m.id(), m.length(), (m.length() > 8) ? reinterpret_cast<uintptr_t>(m.data()) : *(reinterpret_cast<const uint64_t*>(m.data())));
77 }
78
79 void RegisterObject(const std::string& name, int id);
80

Callers

nothing calls this directly

Calls 4

EndpointQueueFunction · 0.85
idMethod · 0.80
lengthMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected