Re: Mutex failure

Uoti Urpala <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Richard Braakman wrote:


> Hmm... if conn_destroy is being called in a context where it is still
> possible that some other process has a lock on the connection, then
> something is wrong.  conn_destroy should only be called on connections
> that are definitely not in use anymore.


The connection is not "in use", it's just that a thread has called
conn_register() for it with no intention to use it later. Without the
fix the callback function can not safely destroy the connection without
further synchronization.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.