1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/ulib/ok/thread.ok
stefanocasazza c97f456323 thread fix
2015-09-03 14:39:31 +02:00

56 lines
1.1 KiB
Plaintext

***********************************************
* Testing class Thread without syncronization *
***********************************************
Testing thread creation
- thread should set n to 1...ok
Testing thread is working
- thread should change n...ok
- thread should change n...ok
Testing suspend & resume
- thread should not change n...ok
- thread should not change n...ok
- thread should change n...ok
- thread should change n...ok
Testing recursive suspend & resume
- thread should not change n...ok
- thread should not change n...ok
- thread should not change n...ok
- thread should not change n...ok
- thread should change n...ok
- thread should change n...ok
Testing no suspend on resume
- thread should change n...ok
- thread should change n...ok
Testing resuspend
- thread should not change n...ok
- thread should not change n...ok
starting father thread
starting child thread
child start
child end
father end
starting thread
thread delete
starting thread pool
Hello World!
Hello World!
Hello World!
Hello World!
thread pool finished
Now program should finish... :)