From 01223ef6ba927a8c4d40f2d40c604ec538f6bc49 Mon Sep 17 00:00:00 2001 From: Michael Ploujnikov Date: Thu, 26 Nov 2009 11:45:34 -0500 Subject: [PATCH] kind vs class naming rationale --- src/backend/threads.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/threads.h b/src/backend/threads.h index 3a45bc5e5..4c15a8ad8 100644 --- a/src/backend/threads.h +++ b/src/backend/threads.h @@ -104,6 +104,9 @@ struct lumiera_thread_struct // void* arg; pthread_t id; 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; lumiera_thread_state state; };