Diff for /rpl/src/instructions_d5.c between versions 1.38 and 1.40

version 1.38, 2010/08/22 16:38:36 version 1.40, 2010/08/26 19:07:37
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.0.18    RPL/2 (R) version 4.0.19
   Copyright (C) 1989-2010 Dr. BERTRAND Joël    Copyright (C) 1989-2010 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
Line 1159  instruction_detach(struct_processus *s_e Line 1159  instruction_detach(struct_processus *s_e
   
     verrouillage_threads_concurrents(s_etat_processus);      verrouillage_threads_concurrents(s_etat_processus);
     (*s_argument_thread).pid = fork();      (*s_argument_thread).pid = fork();
   
 #   ifdef OS2  
     if ((*s_argument_thread).pid == 0)  
     {  
         sem_init(&semaphore_liste_threads, 0, 1);  
         sem_init(&semaphore_gestionnaires_signaux, 0, 0);  
         sem_init(&semaphore_gestionnaires_signaux_atomique, 0, 1);  
         sem_init(&((*s_etat_processus).semaphore_fork), 0, 0);  
     }  
 #   endif  
   
     deverrouillage_threads_concurrents(s_etat_processus);      deverrouillage_threads_concurrents(s_etat_processus);
   
     pthread_sigmask(SIG_SETMASK, &oldset2, NULL);      pthread_sigmask(SIG_SETMASK, &oldset2, NULL);

Removed from v.1.38  
changed lines
  Added in v.1.40


CVSweb interface <joel.bertrand@systella.fr>