Re: Mutex failure

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Benjamin Lee wrote:
> 
> Yup, it works! Swapping the order of unlock_in() and unlock_out()
> statements at the end of conn_register() fixes the mutex problem.

I have commited this to cvs now.

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.

what is considered here to be the "cleaner way"? Or do we still some
problem in solving this "only" by swapping unlock_in() and
unlock_out() ?

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
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.