Index: trunk/MagicSoft/Cosy/devdrv/shaftencoder.cc
===================================================================
--- trunk/MagicSoft/Cosy/devdrv/shaftencoder.cc	(revision 912)
+++ trunk/MagicSoft/Cosy/devdrv/shaftencoder.cc	(revision 918)
@@ -15,14 +15,8 @@
 ShaftEncoder::ShaftEncoder(BYTE_t nodeid, ostream &out=cout) : NodeDrv(nodeid, out), fLabel(NULL)
 {
-    //
-    // Show information
-    //
-    //    pthread_create(&fThread, NULL, MapUpdateThread, this);
-
 }
 
 ShaftEncoder::~ShaftEncoder()
 {
-    //    pthread_cancel(fThread);
 }
 
@@ -91,20 +85,5 @@
     cout << endl;
 }
-/*
-void *ShaftEncoder::MapUpdateThread(void *data)
-{
-    ShaftEncoder *se = (ShaftEncoder*) data;
-
-    //
-    // Detach thread (make sure that it is really removed from memory)
-    //
-    pthread_detach(pthread_self());
-    setpriority(PRIO_PROCESS, 0, 5);
-
-    se->UpdateThread();
-
-    return NULL;
-}
-*/
+
 void ShaftEncoder::DisplayVal()
 {
@@ -133,35 +112,5 @@
     }
 }
-/*
-void ShaftEncoder::UpdateThread()
-{
-    return;
-    //
-    // check for a running thread and lock mutex
-    //
-
-    //
-    // Wait until the network and the output widget is initialized
-    //
-    while (!GetNetwork() || !fLabel)
-        usleep(1);
-
-    while (1)
-    {
-        usleep(40000);
-        //WaitForNextPdo1();
-
-        //
-        // Update information
-        //
-
-
-        //
-        // make updated information visible
-        //
-        //gSystem->ProcessEvents(); ----> MCosy::GuiThread
-    }
-}
-*/
+
 void ShaftEncoder::HandlePDOType0(BYTE_t *data)
 {
Index: trunk/MagicSoft/Cosy/devdrv/shaftencoder.h
===================================================================
--- trunk/MagicSoft/Cosy/devdrv/shaftencoder.h	(revision 912)
+++ trunk/MagicSoft/Cosy/devdrv/shaftencoder.h	(revision 918)
@@ -4,6 +4,4 @@
 #include "timer.h"
 #include "nodedrv.h"
-
-#include <pthread.h>
 
 class TGLabel;
@@ -22,8 +20,4 @@
 
     Timer fTime;
-
-    //    pthread_t fThread;
-    //    static void *MapUpdateThread(void *se);
-    //    void UpdateThread();
 
     void HandlePDOType0(BYTE_t *data);
