version 1.100, 2015/11/26 11:44:41
|
version 1.104, 2016/03/16 12:19:34
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.24 |
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 2522 instruction_wfproc(struct_processus *s_e
|
Line 2522 instruction_wfproc(struct_processus *s_e
|
{ |
{ |
if (envoi_signal_processus((*(*((struct_processus_fils *) |
if (envoi_signal_processus((*(*((struct_processus_fils *) |
(*(*l_element_courant).donnee).objet)).thread).pid, |
(*(*l_element_courant).donnee).objet)).thread).pid, |
rpl_signull) != 0) |
rpl_signull, d_faux) != 0) |
{ |
{ |
drapeau_fin = d_vrai; |
drapeau_fin = d_vrai; |
} |
} |
Line 3073 options_sockets(struct_processus *s_etat
|
Line 3073 options_sockets(struct_processus *s_etat
|
} |
} |
} |
} |
|
|
|
# ifdef SO_PRIORITY |
if (((*s_socket).options & (1 << d_PRIORITY)) != 0) |
if (((*s_socket).options & (1 << d_PRIORITY)) != 0) |
{ |
{ |
if (setsockopt((*s_socket).socket, SOL_SOCKET, SO_PRIORITY, |
if (setsockopt((*s_socket).socket, SOL_SOCKET, SO_PRIORITY, |
Line 3081 options_sockets(struct_processus *s_etat
|
Line 3082 options_sockets(struct_processus *s_etat
|
return(d_erreur); |
return(d_erreur); |
} |
} |
} |
} |
|
# endif |
|
|
// Les deux options suivantes ne peuvent être positionnées simultanément. |
// Les deux options suivantes ne peuvent être positionnées simultanément. |
|
|
Line 3094 options_sockets(struct_processus *s_etat
|
Line 3096 options_sockets(struct_processus *s_etat
|
} |
} |
} |
} |
|
|
|
# ifdef SO_RCVBUFFORCE |
if (((*s_socket).options & (1 << d_FORCE_RECEIVE_BUFFER)) != 0) |
if (((*s_socket).options & (1 << d_FORCE_RECEIVE_BUFFER)) != 0) |
{ |
{ |
if (setsockopt((*s_socket).socket, SOL_SOCKET, SO_RCVBUFFORCE, |
if (setsockopt((*s_socket).socket, SOL_SOCKET, SO_RCVBUFFORCE, |
Line 3103 options_sockets(struct_processus *s_etat
|
Line 3106 options_sockets(struct_processus *s_etat
|
return(d_erreur); |
return(d_erreur); |
} |
} |
} |
} |
|
# endif |
|
|
// Même remarque |
// Même remarque |
|
|
Line 3116 options_sockets(struct_processus *s_etat
|
Line 3120 options_sockets(struct_processus *s_etat
|
} |
} |
} |
} |
|
|
|
# ifdef SO_SNDBUFFORCE |
if (((*s_socket).options & (1 << d_FORCE_SEND_BUFFER)) != 0) |
if (((*s_socket).options & (1 << d_FORCE_SEND_BUFFER)) != 0) |
{ |
{ |
if (setsockopt((*s_socket).socket, SOL_SOCKET, SO_SNDBUFFORCE, |
if (setsockopt((*s_socket).socket, SOL_SOCKET, SO_SNDBUFFORCE, |
Line 3125 options_sockets(struct_processus *s_etat
|
Line 3130 options_sockets(struct_processus *s_etat
|
return(d_erreur); |
return(d_erreur); |
} |
} |
} |
} |
|
# endif |
|
|
if (((*s_socket).options & (1 << d_RECEIVING_TIMEOUT)) != 0) |
if (((*s_socket).options & (1 << d_RECEIVING_TIMEOUT)) != 0) |
{ |
{ |