5 #ifndef CMR_THREAD_INCLUDED
6 #define CMR_THREAD_INCLUDED
8 #include "commore/Commore.h"
9 #include "commore/AutoRef.h"
85 virtual void run_item();
102 Event(
bool create =
true);
107 Event(
const AChar* name);
117 bool create(
const AChar* name = 0);
146 void*
get()
const {
return event_; }
178 bool set_value(
void* v);
190 bool is_valid()
const;
194 bool isValid()
const;
198 bool is_used()
const;