Mir

Code review comment for lp:~afrantzis/mir/client-api-platform-operation-fds

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

Updated docs.

> When is it safe for the client code to close the FDs?

From the new docs:

"the caller is responsible for keeping the fds open for as long as this message needs to remain valid"

How long is long enough depends on the context. For example, for mir_connection_platform_operation() call:

"The MirPlatformMessage used for the request needs to remain valid until this operation finishes"

« Back to merge proposal