don't lock the gs_prevCS critical section recursively (replaces patch 1857581)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-02 21:18:15 +00:00
parent 9d59b50a9f
commit dbaa16de07
3 changed files with 14 additions and 5 deletions

View File

@@ -308,9 +308,13 @@ protected:
// log a message indicating the number of times the previous message was
// repeated if ms_prevCounter > 0, does nothing otherwise; return the old
// value of ms_prevCounter
unsigned LogLastRepetitionCountIfNeeded();
unsigned LogLastRepeatIfNeeded();
private:
// implement of LogLastRepeatIfNeeded(): it assumes that the
// caller had already locked ms_prevCS
unsigned LogLastRepeatIfNeededUnlocked();
// static variables
// ----------------