]> git.saurik.com Git - wxWidgets.git/commit
Made wxLogXXX() functions thread-safe.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Jul 2009 17:02:30 +0000 (17:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Jul 2009 17:02:30 +0000 (17:02 +0000)
commit232addd1cd1515d08ab48335f14f6156363efb82
tree4a38b4b2e61abf51500fb11f6caade0c9f8068cf
parentdbe0872fc80f7fc9ac37235ab1f8ba8224b0bfa5
Made wxLogXXX() functions thread-safe.

They can now be called from any thread and will buffer the messages until the
current log target is flushed from the main thread. This makes earlier code to
do the same thing specifically for wxLogWindow unnecessary and also allows to
use wxLogMessage() in the thread sample instead of using manual logging there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/doxygen/overviews/log.h
include/wx/log.h
interface/wx/log.h
samples/thread/thread.cpp
src/common/log.cpp
src/generic/logg.cpp