On Tue, 1 Jul 2003 13:47:03 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL 
PROTECTED]> wrote:

> 1. try to find the place from where the headers are being sorted/threaded
>    without locking m_mutexHeaders first

At least lines 2226 and 2290 in wxFolderView.cpp (indirectly) trigger
some modifications to the state of the sorting/threading data without
first locking m_mutexHeader: IsInCache may reset the threading data, and
SelectInitialMessage actually calls the threading code.

I will try to add 'MLocker lockHeaders(m_mutexHeaders)' in front of
those lines.

-- 
Xavier Nodet
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." - Benjamin Franklin, 1759.


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to