kind vs class naming rationale

This commit is contained in:
Michael Ploujnikov 2009-11-26 11:45:34 -05:00
parent afd2035983
commit 01223ef6ba

View file

@ -104,6 +104,9 @@ struct lumiera_thread_struct
// void* arg; // void* arg;
pthread_t id; pthread_t id;
LumieraReccondition finished; LumieraReccondition finished;
// the following member could have been called "class" except that it would conflict with C++ keyword
// as consequence, it's been decided to leave the type name containing the word "class",
// while all members/variables called "kind"
enum lumiera_thread_class kind; enum lumiera_thread_class kind;
lumiera_thread_state state; lumiera_thread_state state;
}; };