/* * BlinkingLight.h * * Created on: Mar 7, 2015 * Author: student */ #ifndef BLINKINGLIGHT_H_ #define BLINKINGLIGHT_H_ #include class ChildExampleThread { private: unsigned long int count; bool threadRunning; pthread_t thread; const char * name; public: ChildExampleThread(const char * name); virtual ~ChildExampleThread(); void run(); void start(pthread_attr_t* threadAttributes); void stopThread(); void printResult(); friend void* runBlinkingLight(void* instance); pthread_t getThread(); }; #endif /* BLINKINGLIGHT_H_ */