From: Damien S. <dsa...@us...> - 2007-02-27 21:24:12
|
Update of /cvsroot/openh323/opal/include/sip In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26160/include/sip Modified Files: Tag: Phobos sipep.h Log Message: Added missing locking. Fixes Ekiga report #411438. Index: sipep.h =================================================================== RCS file: /cvsroot/openh323/opal/include/sip/sipep.h,v retrieving revision 2.46.2.12 retrieving revision 2.46.2.13 diff -C2 -d -r2.46.2.12 -r2.46.2.13 *** sipep.h 15 Jan 2007 22:16:42 -0000 2.46.2.12 --- sipep.h 27 Feb 2007 21:24:07 -0000 2.46.2.13 *************** *** 26,29 **** --- 26,32 ---- * * $Log$ + * Revision 2.46.2.13 2007/02/27 21:24:07 dsandras + * Added missing locking. Fixes Ekiga report #411438. + * * Revision 2.46.2.12 2007/01/15 22:16:42 dsandras * Backported patches improving stability from HEAD to Phobos. *************** *** 308,315 **** virtual void AppendTransaction(SIPTransaction * transaction) ! { registrations.Append (transaction); } virtual void RemoveTransactions() ! { registrations.RemoveAll (); } virtual BOOL IsRegistered() --- 311,318 ---- virtual void AppendTransaction(SIPTransaction * transaction) ! { PWaitAndSignal m(registrationsMutex); registrations.Append (transaction); } virtual void RemoveTransactions() ! { PWaitAndSignal m(registrationsMutex); registrations.RemoveAll (); } virtual BOOL IsRegistered() *************** *** 372,375 **** --- 375,379 ---- PString registrationID; SIPTransactionList registrations; + PMutex registrationsMutex; PTime registrationTime; BOOL registered; |