Results 1 to 3 of 3
i m trying to implement a scheduler in C. I need to insert a forked process into a queue and make it exec for 1 quantum say and then push ...
- 11-30-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 2
running a stopped process
i m trying to implement a scheduler in C. I need to insert a forked process into a queue and make it exec for 1 quantum say and then push it back in queue. Allocate another quantum l8r.. how do i do this??
What r the different calls supported in the header unistd.h
- 11-30-2011 #2Linux Newbie
- Join Date
- Mar 2010
- Posts
- 121
You can use the kill() system call to send a signal to a process, sending SIGSTOP and SIGCONT. If you want some in-depth information about signals you can start with the man pages signal(7) (i.e. "man 7 signal") and kill(2), and the book Linux System Programming by Robert Love is also excellent.
- 12-01-2011 #3Just Joined!
- Join Date
- Nov 2011
- Posts
- 2
Thankyou.. It was really helpful


Reply With Quote