Re: Mutex failure

Richard Braakman <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Wed, Feb 20, 2002 at 11:50:59AM +0100, Stipe Tolj wrote:
> Uoti and the other:
> > > > at the end of conn_register, or (a cleaner way) by adding a
> > > > lock_out/unlock_out pair at the start of conn_destroy.

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.

Richard Braakman
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.