Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 03-11-2005, 03:11 AM   #1 (permalink)
 
Newb Techie

Join Date: Mar 2005

Posts: 1

janhavideshpand

Default plz help me for minix

MINIX program that creates a mixture of compute-bound and I/O-bound processes. The numbers of each type of process should be supplied as command-line arguments. Each child process should periodically send a message (using a pipe) to the parent process, identifying itself, along with the current wall-clock time. The parent will log these messages to a text file. This text file should be created with a call to open() (i.e., don't use stdout). I/O-bound processes should repeatedly write and/or read one or more files. Compute-bound processes should sit in a tight loop, or do some other CPU-intensive operations before each message to the parent. (Extra Credit: write the child process as a separate program that outputs to stdout, and invoke it with an execl(). Use close() and dup() to setup the pipe as stdout before the execl().)
,i have done process pipe,creation,plz help me for next steps.
PLz help.
Thankx
jan
janhavideshpand is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On