X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43203fc1132e402ab5751167ed64196f10f5dedf..ab9300aaf1217f0c3b45dd5f1f1fdc1c5e5bd1be:/Server/include/plaqui/server/runnable.h?ds=inline diff --git a/Server/include/plaqui/server/runnable.h b/Server/include/plaqui/server/runnable.h index 2d34e6c..7896090 100644 --- a/Server/include/plaqui/server/runnable.h +++ b/Server/include/plaqui/server/runnable.h @@ -52,12 +52,18 @@ namespace Server { /// Thread en el cual correr la tarea. Glib::Thread* thread; - /// Indica si se debe frinalizar la tarea. - bool stop; - /// Señal que indica que se finalizó la tarea. SignalFinished finished; + protected: + + /** + * Indica si se debe frinalizar la tarea. + * + * \todo Poner como privado y poner get() set() con locks. + */ + bool stop; + // Métodos. private: @@ -79,7 +85,7 @@ namespace Server { /** * Destructor. */ - virtual ~Runnable(void) {} + virtual ~Runnable(void); /** * Constructor.