Denes Matetelki
|
7226f1494c
|
ArgParse doc update
|
13 years ago |
Denes Matetelki
|
799ed107bc
|
Merge branch 'master' of gitproxy:cs0rbagomba/cpp_utils
|
13 years ago |
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
|
970cb092d1
|
Observer design pattern's Observer & Subject abstract classes
|
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
|
ed594da929
|
high freq test for Timer
|
14 years ago |
Denes Matetelki
|
03627c0ed5
|
TimerThread had too much overhead, trying a different approach with Timer
|
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
|
ab92c991ec
|
ThreadPool does not have threadnum parameter anymore, you can add as many worker thread as you want later
|
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
|
b9f55724d8
|
CMakeLists.txt cleanup, added minimal unittest, added run_test coeverage tool, added .gitignore file
|
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
|
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 |