A small library that's provide helpers for programmers
Diff: MyThread.h
- Revision:
- 2:6cc4c56940af
- Parent:
- 1:ee7a5f05513d
--- a/MyThread.h Tue Feb 17 11:55:34 2015 +0000 +++ b/MyThread.h Fri Mar 27 16:48:12 2015 +0000 @@ -25,9 +25,11 @@ class MyThread{ public: const char* tName; + uint32_t stackSize; bool running; Thread *t; - MyThread(const char* name); + + MyThread(const char* name, uint32_t stack_size = DEFAULT_STACK_SIZE); virtual ~MyThread(); virtual void Start(); virtual void Stop();