LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-19-2011, 09:46 PM   #1
punit_beriwal
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
process using fork


Hello..
i am new to linux and knows very little in c programing in linux.
help me out..
i have a project to implement round-robin scheduling in linux using fork to create the processes..
can anyone help me to create the project..
 
Old 03-20-2011, 03:55 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
No, you're going to have to learn how to do it yourself. LQ isn't the place to ask for people to do your homework.
 
Old 03-20-2011, 04:03 PM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
Don't forget to fork fork exec if you're going to have long running processes
 
Old 03-22-2011, 01:16 AM   #4
punit_beriwal
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
i appreciate this...
but can u at least provide some materials how to use this fork in my project..or any ebook so that i might do myself..
 
Old 03-22-2011, 01:24 AM   #5
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Hit out Google with the keywords: GNU fork process creation example and READ the first FIVE links (you can skip the FOURTH link from top) and read them in the reverse order i.e. 5, 3, 2, 1.

Last edited by Aquarius_Girl; 03-22-2011 at 01:29 AM.
 
Old 03-22-2011, 03:08 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change in Process Id after fork sankumar Programming 1 12-24-2008 03:20 AM
Create a process using fork()? Ashkan_s Programming 5 08-22-2008 11:46 AM
collecting data from fork process frostmagic Programming 5 12-28-2003 01:55 PM
how to fork a process? Punker99 Programming 2 07-28-2003 11:21 AM
fork() by Process 0 Manish Programming 0 02-23-2002 05:03 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration