48 Commits (d1bdd12a2c2d3183c46aa34b697dd863a966d843)
 

Author SHA1 Message Date
Denes Matetelki d1bdd12a2c ArgParse is doxygen-commented
13 years ago
Denes Matetelki dba6b1c91d ArgParse choices implemented
13 years ago
Denes Matetelki 3920051e6f Merge branch 'master' of gitorious.org:cpp_utils/cpp_utils
13 years ago
Denes Matetelki 8a294bd0e7 python argParse like ArgParse class added
13 years ago
Denes Matetelki a03968e42e singleton with std::call_once
13 years ago
Denes Matetelki 44f5171b19 multiton class added
13 years ago
Denes Matetelki 8302f2c691 new singleton implementations
13 years ago
Denes Matetelki dfe58dc4ce TimerThreadMultimap went back to the 'cafe of broken dreams' folder again, logger handle levels, Timer starts new threads when time is over
14 years ago
Denes Matetelki 06eebadba2 no need for a sigaction
14 years ago
Denes Matetelki 34ed5628ec TimerThreadMultimap is the slow TimerThread implementation now. Timer got smarter: get the timerId from siginfo, it can now expanded to a thread and then a timerthread+threadpool to call the expired functions
14 years ago
Denes Matetelki f39d876cc2 Timer update
14 years ago
Denes Matetelki 6792784464 coding style fixes
14 years ago
Denes Matetelki b328c6f9dd init functions for the Mutex and CondVar ctior init lists
14 years ago
Denes Matetelki 097db4c80d TimerThread corrections
14 years ago
Denes Matetelki efab283199 TimerThread is useful after all
14 years ago
Denes Matetelki 291b3307ec careless commit
14 years ago
Denes Matetelki ed594da929 high freq test for Timer
14 years ago
Denes Matetelki 675a877def test_Timer new test for threading
14 years ago
Denes Matetelki 03627c0ed5 TimerThread had too much overhead, trying a different approach with Timer
14 years ago
Denes Matetelki 8e1dbfa569 bug fixed ad removing user in TimerThread. TimerThread has some logs, till complete testing
14 years ago
Denes Matetelki 083825bc2e Colors at logging. test_Common.hpp renamed to Fixtures.hpp. TimerThread remove user is suspicious
14 years ago
Denes Matetelki 696c28a5c8 adding new entries to valgrind suppression file, NOW the valgrind results are ok
14 years ago
Denes Matetelki 38d7e7c692 TimerThead uses nanosec precision
14 years ago
Denes Matetelki 83f61e602c waiting with pthread_mutex_timedlock, pthread_cond_timedwait now uses nanosec too. Thread can be created as a soft-realtime thread. TimerThread should have nanosec precision alarm functionality.
14 years ago
Denes Matetelki fe5c8ea507 logger functions do not have loglevel arguments anymore, they are handled in the macros
14 years ago
Denes Matetelki c21f3560f9 locks in TimerThread::run, colorful all thread backtrace info if corefile generated, testcase for removeTimerUser
14 years ago
Denes Matetelki e7e383fd7f New make target: reset, which removes all generated files. Doxygen file and doc target added. New singleton Logger class. New TimerThread class. Cafe of broken dreams: ./other: ConcurrentMultiMap, Semaphore.cpp. run_test asks y/n question to run gdb if core created. test_Common.hpp to init Logger for tests.
14 years ago
Denes Matetelki a87978afef new class: Semaphore, smal fixes
14 years ago
Denes Matetelki 64efcfd9da intIntervalTotimespec moved to Common.hpp, run_test.sh stop if test failed or segfaulted
14 years ago
Denes Matetelki ab92c991ec ThreadPool does not have threadnum parameter anymore, you can add as many worker thread as you want later
14 years ago
Denes Matetelki 4a13d359fa test_threadpool.hpp has been renamed
14 years ago
Denes Matetelki 0866c80c1a remove old test from test dir
14 years ago
Denes Matetelki 01cde4928d PThreadWrappers return with the retval of called pthread. Task became an interface. WorkerThread moved to test_ThreadPool.hpp. Thread has stop() and m_isRunning members. ThreadPool is now Task and Thread type independent. No more assertions in PThreadWrappers. Unittests refactored. test dir cleaned up.
14 years ago
Denes Matetelki 123b9fca17 Unittest of Singleton.hpp is ready
14 years ago
Denes Matetelki 9834554c17 Leak check with valgrind and coverage check with lcov too in run_test.sh
14 years ago
Denes Matetelki 1ec5fb1466 run_test.sh uses valgrind with suppressions
14 years ago
Denes Matetelki 1fe8027efe gitignore expansion, unittest renames
14 years ago
Denes Matetelki b9f55724d8 CMakeLists.txt cleanup, added minimal unittest, added run_test coeverage tool, added .gitignore file
14 years ago
Denes Matetelki 772fc95d56 test/CMakeLists.txt corrected, run_test.sh added
14 years ago
Denes Matetelki efd39fd208 ConditionalVariable takes Mutex as reference, not as pointer
14 years ago
Denes Matetelki f6493685d1 ScopedLock takes Mutex as reference not as pointer
14 years ago
Denes Matetelki f2e7c786c4 README added
14 years ago
Denes Matetelki dccd38d8e7 new classes: concurrentqueue, Task, Thread, ThreadPool, WorkerThread, and some tests. Trying to have cxxtest and cmake
14 years ago
Denes Matetelki a39371125e new class: ConditionVariable, Mutex has getPThreadMutex() method
14 years ago
Denes Matetelki 4082b369d7 #else branch was missing
14 years ago
Denes Matetelki 1e82f65ed7 TRACE macro to Common.hpp, ScopedLock with Mutex* arg, Mutex cctor and assign op is private
14 years ago
Denes Matetelki c141568b13 mutex ctor can have a type, class has tryLock method
14 years ago
Denes Matetelki 5bee45756d Initial commit
14 years ago