(file) Return to Thread.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Thread.h between version 1.39 and 1.40

version 1.39, 2004/07/28 16:23:18 version 1.40, 2004/07/28 20:42:34
Line 126 
Line 126 
             delete [] _key;             delete [] _key;
       }       }
  
         /**
          * This function is used to put data in thread space.
          *
          * Be aware that there is NOTHING in place to stop
          * other users of the thread to remove this data.
          * Or change the data.
          *
          * You, the developer has to make sure that there are
          * no situations in which this can arise (ie, have a
          * lock for the function which manipulates the TSD.
          */
       void put_data(void (*del)(void *), size_t size, void *data ) throw(NullPointer)       void put_data(void (*del)(void *), size_t size, void *data ) throw(NullPointer)
       {       {
          if(_data != NULL)          if(_data != NULL)
Line 140 
Line 151 
  
       size_t get_size(void) { return _size; }       size_t get_size(void) { return _size; }
  
         /**
          * This function is used to retrieve data from the
          * TSD, the thread specific data.
          *
          * Be aware that there is NOTHING in place to stop
          * other users of the thread to change the data you
          * get from this function.
          *
          * You, the developer has to make sure that there are
          * no situations in which this can arise (ie, have a
          * lock for the function which manipulates the TSD.
          */
       void get_data(void **data, size_t *size)       void get_data(void **data, size_t *size)
       {       {
          if(data == NULL || size == NULL)          if(data == NULL || size == NULL)


Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2