![]() |
![]() |
![]() |
![]() |
The MME connection handle
#include <mme/types.h>
The opaque structure mme_hdl_t carries MME connection handle information. Valid connection handles are created by the function mme_connect(). The MME fills in all needed information to create the connection handle; you only need to know that all calls to MME functions require a valid connection handle.
The function mme_disconnect() releases connection handles. Function calls made with a connection handle after it has been released will cause an error.
All MME functions are thread-safe. The client application can create multiple connections and the MME handles thread safety for all threads when each thread uses a different connection handle.
However, if you use the same connection handle for more than one thread in your client application, you must use mutexes, semaphores or some other method to protect the connection handle from being accidently overwritten.
QNX Multimedia
mme_connect(), mme_disconnect()
![]() |
![]() |
![]() |
![]() |