C program signal

En curso Publicado Apr 16, 2012 Pagado a la entrega
En curso Pagado a la entrega

Write a C/C++ program called [login to view URL] that waits a brief period of time (10 seconds; using the sleep function) to simulate a daemon process initializing and then waiting for an incoming request.

After this period, the parent process should fork/exec (don't use the system() function call) a child process (call it [login to view URL]). The parent process should then sleep for a longer period of time (2 minutes).

The parent process should determine when the child process exits. The parent process should report the child's PID and it's return/exit status.

The child process should also sleep for a period of time (30 seconds) to simulate a child process performing some work on behalf of the user. After the child process wakes up, it should simply exit with a value of 53.

At each step, both processes should output an informational message to help us understand what is happening, such as the following:

parent: forking child

child: going to sleep

etc.

(This information would typically be written to a log file; you may simply write to stdout.)

Programación en C

Nº del proyecto: #1568577

Sobre el proyecto

8 propuestas Proyecto remoto Activo Apr 17, 2012

8 freelancers están ofertando un promedio de $59 por este trabajo

minhtridn2001

I'm C, C++ expert! I will do it perfectly! Please accept my bid and we start now

$40 USD en 1 día
(22 comentarios)
4.7
pkcoder

Hi sir. I am a qualified programmer. i can do this task. kindly check pmb. Thank you

$35 USD en 0 días
(26 comentarios)
4.6
aleexaibi

hi i am qualified programmer in c,c++ i can handle this job ..!!!

$30 USD en 7 días
(2 comentarios)
1.8
abbasitech

Hi there, chk private message Thanks and Regards, ABBASITECH (IT SOLUTIONZ ISB)

$30 USD en 0 días
(1 comentario)
1.8
coderz01

Hello. I am ready to help you with this easy task.

$30 USD en 1 día
(1 comentario)
1.6
ChickenSoup

Easy job! I will do it for you

$30 USD en 1 día
(0 comentarios)
0.0
mohitaswal

Hi i am experienced C/c++ programmer , i have working in this area from 3 years please check my PMB

$30 USD en 0 días
(0 comentarios)
0.0
Mp14SKy6D

Pls check PMB.

$250 USD en 1 día
(0 comentarios)
0.0