]> git.saurik.com Git - wxWidgets.git/commit - include/wx/unix/private/wakeuppipe.h
Split wxWakeUpPipe class in MT-unsafe and MT-safe parts.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:27:53 +0000 (00:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:27:53 +0000 (00:27 +0000)
commitbd7cea0ea609f032877f9435feba2623fce98db7
tree1a3552c5f15c543b9dcf230e59a75f876e5f5d36
parent2ccfebab0925dd4bd5ad1671ad290ebc3141d782
Split wxWakeUpPipe class in MT-unsafe and MT-safe parts.

This class can also be useful when it's used in the main thread only, so
leave the lock-less part of the code in wxWakeUpPipe and derive a separate
wxWakeUpPipeMT from it for the use in wxConsoleEventLoop where it can be used
by multiple threads.

See #10258.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/unix/evtloop.h
include/wx/unix/private/wakeuppipe.h
src/unix/evtloopunix.cpp
src/unix/wakeuppipe.cpp