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
|
b328c6f9dd
|
init functions for the Mutex and CondVar ctior init lists
|
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
|
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
|
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
|
dccd38d8e7
|
new classes: concurrentqueue, Task, Thread, ThreadPool, WorkerThread, and some tests. Trying to have cxxtest and cmake
|
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 |