Computing.Net > Forums > Programming > help in c language

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

help in c language

Reply to Message Icon

Name: lisa
Date: March 28, 2006 at 11:09:35 Pacific
OS: windoweS XP
CPU/Ram: PNTUM ME
Product: toshiba
Comment:

can u help me to solve this proplem:
Write a C program (give it the name: family.c) which receives no arguments. The program should fork exactly two children. One child should sleep for 2 seconds and then send the signal SIGUSR1 to his parent. The other child should sleep for 5 seconds and then send the signal SIGUSR2 to his parent. The parent, while busy counting from 0 to 9 –sleeping one second after each count- will ignore the first signal but handle the other signal with a signal handler that just prints the following: “Son! Stop making noise!




Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: March 28, 2006 at 23:35:35 Pacific
Reply:

If that's the assignment verbatim, you should consider getting another instructor.

If it's translated into English, start with pseudo code.


If at first you don't succeed, you're about average.

M2


0
Reply to Message Icon

Related Posts

See More


PHP scripting (not on a w... looking for a script...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: help in c language

Help in C language www.computing.net/answers/programming/help-in-c-language/17344.html

Hierarchal Tree in C Language. www.computing.net/answers/programming/hierarchal-tree-in-c-language/11292.html

help with C++ language www.computing.net/answers/programming/help-with-c-language/17856.html