version 1.136, 2015/10/26 15:14:19
|
version 1.139, 2016/03/09 10:57:41
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.23 |
RPL/2 (R) version 4.1.25 |
Copyright (C) 1989-2015 Dr. BERTRAND Joël |
Copyright (C) 1989-2016 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 1109 instruction_detach(struct_processus *s_e
|
Line 1109 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(); |
deverrouillage_threads_concurrents(s_etat_processus); |
|
|
if ((*s_argument_thread).pid > 0) |
|
{ |
|
deverrouillage_threads_concurrents(s_etat_processus); |
|
} |
|
|
if (pthread_mutex_unlock(&((*s_etat_processus).mutex_allocation_buffer)) |
if (pthread_mutex_unlock(&((*s_etat_processus).mutex_allocation_buffer)) |
!= 0) |
!= 0) |