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

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

View File

@@ -297,7 +297,11 @@ private:
// this is the replacement of DoLogNumberOfRepeats() (which has to be kept
// to avoid breaking ABI in this version)
unsigned LogLastRepetitionCountIfNeeded();
unsigned LogLastRepeatIfNeeded();
// implementation of the function above which supposes that the caller had
// already locked gs_prevCS
unsigned LogLastRepeatIfNeededUnlocked();
};
// ----------------------------------------------------------------------------