version 1.18.2.3, 2011/05/09 13:52:23
|
version 1.41, 2012/12/19 09:58:27
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.24 |
RPL/2 (R) version 4.1.12 |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
Copyright (C) 1989-2012 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 75 read_atomic(struct_processus *s_etat_pro
|
Line 75 read_atomic(struct_processus *s_etat_pro
|
|
|
if ((longueur_lue == -1) && (errno == EINTR)) |
if ((longueur_lue == -1) && (errno == EINTR)) |
{ |
{ |
|
scrutation_interruptions(s_etat_processus); |
nanosleep(&attente, NULL); |
nanosleep(&attente, NULL); |
drapeau = d_vrai; |
drapeau = d_vrai; |
} |
} |
Line 153 write_atomic(struct_processus *s_etat_pr
|
Line 154 write_atomic(struct_processus *s_etat_pr
|
{ |
{ |
if (errno == EINTR) |
if (errno == EINTR) |
{ |
{ |
|
scrutation_interruptions(s_etat_processus); |
nanosleep(&attente, NULL); |
nanosleep(&attente, NULL); |
drapeau = d_vrai; |
drapeau = d_vrai; |
} |
} |
Line 169 write_atomic(struct_processus *s_etat_pr
|
Line 171 write_atomic(struct_processus *s_etat_pr
|
|
|
if (longueur_ecrite == 0) |
if (longueur_ecrite == 0) |
{ |
{ |
|
scrutation_interruptions(s_etat_processus); |
nanosleep(&attente, NULL); |
nanosleep(&attente, NULL); |
} |
} |
} |
} |