Changeset 2021 in Sophya for trunk


Ignore:
Timestamp:
May 30, 2002, 9:57:04 AM (23 years ago)
Author:
ansari
Message:

Suppression de pthread_detach(thread) ds ~TOIProcessor() - Reza , 30 Mai 2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/toiprocessor.cc

    r1963 r2021  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toiprocessor.cc,v 1.22 2002-04-11 16:12:17 aubourg Exp $
     5// $Id: toiprocessor.cc,v 1.23 2002-05-30 07:57:04 ansari Exp $
    66
    77#include "toiprocessor.h"
     
    5454  //if (dataReady)
    5555  pthread_cond_destroy(&dataReady);
    56   pthread_detach(thread);
     56  // Il ne faut apparemment pas appeler pthread_detach si on a fait join avant
     57  // Extrait du man (Reza - Mai 2002)
     58  //man:  The pthread_join(3) routine also detaches the target thread after
     59  //man: pthread_join(3) returns successfully.
     60  //  pthread_detach(thread);  $CHECK$ - Reza Mai 2002
    5761}
    5862
Note: See TracChangeset for help on using the changeset viewer.