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
|
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
|
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
|
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
|
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
|
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 |