version 1.25, 2011/06/22 13:26:57
|
version 1.31, 2011/09/14 14:34:28
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.0.prerelease.3 |
RPL/2 (R) version 4.1.3 |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 59 lancement_daemon(struct_processus *s_eta
|
Line 59 lancement_daemon(struct_processus *s_eta
|
|
|
fflush(NULL); |
fflush(NULL); |
|
|
# ifdef _BROKEN_SIGINFO |
|
destruction_fifos_signaux(s_etat_processus); |
|
# endif |
|
|
|
pid = fork(); |
pid = fork(); |
|
|
# ifdef OS2 |
# ifdef OS2 |
Line 84 lancement_daemon(struct_processus *s_eta
|
Line 80 lancement_daemon(struct_processus *s_eta
|
if (pid > 0) |
if (pid > 0) |
{ |
{ |
// Fin du processus père. |
// Fin du processus père. |
|
destruction_queue_signaux(s_etat_processus); |
_exit(EXIT_SUCCESS); |
_exit(EXIT_SUCCESS); |
} |
} |
|
|
Line 112 lancement_daemon(struct_processus *s_eta
|
Line 109 lancement_daemon(struct_processus *s_eta
|
fflush(NULL); |
fflush(NULL); |
pid = fork(); |
pid = fork(); |
|
|
# ifdef _BROKEN_SIGINFO |
|
creation_fifos_signaux(s_etat_processus); |
|
# endif |
|
|
|
# ifdef OS2 |
# ifdef OS2 |
if (pid == 0) |
if (pid == 0) |
{ |
{ |
Line 139 lancement_daemon(struct_processus *s_eta
|
Line 132 lancement_daemon(struct_processus *s_eta
|
} |
} |
|
|
(*s_etat_processus).pid_processus_pere = getpid(); |
(*s_etat_processus).pid_processus_pere = getpid(); |
|
creation_queue_signaux(s_etat_processus); |
modification_pid_thread_pere(s_etat_processus); |
modification_pid_thread_pere(s_etat_processus); |
|
(*s_etat_processus).tid_courant = pthread_self(); |
|
|
return; |
return; |
} |
} |