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

Diff for /pegasus/src/Pegasus/Common/Thread.cpp between version 1.14 and 1.15

version 1.14, 2002/04/06 19:28:00 version 1.15, 2002/05/21 02:43:33
Line 333 
Line 333 
           "Initializing thread with work function and parameters: parm = %p",           "Initializing thread with work function and parameters: parm = %p",
           parm);           parm);
  
       th->remove_tsd("work func");        th->delete_tsd("work func");
       th->put_tsd("work func", NULL,       th->put_tsd("work func", NULL,
                   sizeof( PEGASUS_THREAD_RETURN (PEGASUS_THREAD_CDECL *)(void *)),                   sizeof( PEGASUS_THREAD_RETURN (PEGASUS_THREAD_CDECL *)(void *)),
                   (void *)work);                   (void *)work);
       th->remove_tsd("work parm");        th->delete_tsd("work parm");
       th->put_tsd("work parm", NULL, sizeof(void *), parm);       th->put_tsd("work parm", NULL, sizeof(void *), parm);
       th->remove_tsd("blocking sem");        th->delete_tsd("blocking sem");
       if(blocking != 0 )       if(blocking != 0 )
          th->put_tsd("blocking sem", NULL, sizeof(Semaphore *), blocking);          th->put_tsd("blocking sem", NULL, sizeof(Semaphore *), blocking);
  
Line 471 
Line 471 
  
                if(th != 0)                if(th != 0)
                {                {
                   th->remove_tsd("work func");                    th->delete_tsd("work func");
                   th->put_tsd("work func", NULL,                   th->put_tsd("work func", NULL,
                               sizeof( PEGASUS_THREAD_RETURN (PEGASUS_THREAD_CDECL *)(void *)),                               sizeof( PEGASUS_THREAD_RETURN (PEGASUS_THREAD_CDECL *)(void *)),
                               (void *)&_undertaker);                               (void *)&_undertaker);
                   th->remove_tsd("work parm");                    th->delete_tsd("work parm");
                   th->put_tsd("work parm", NULL, sizeof(void *), th);                   th->put_tsd("work parm", NULL, sizeof(void *), th);
  
                   // signal the thread's sleep semaphore to awaken it                   // signal the thread's sleep semaphore to awaken it


Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2