active-object
active-object copied to clipboard
Active Object snippets with C++11, C++03 and C++/Qt
CONTENTS
3rdParty -- gtest/glog
active-object_c++11 Is made with standard C++ components with the help of the latest C++11 and std::thread features (thanks to justthread). For more details See www.kjellkod.cc/active-object-with-cpp0x
A good example of when this active object is in use can be found in the asynchronous "crash safe" logger g2log You can find it here: https://bitbucket.org/KjellKod/g2log/
active-object_qt Is made with Qt 4.7, an active object using a protected shared_queue with internal QMutex and QWaitCondition