linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* specifying process priority
@ 2003-08-25  2:47 Palash Mohanlal Kasodhan
  2003-08-25  3:19 ` Glynn Clements
  2003-08-25  5:52 ` John T. Williams
  0 siblings, 2 replies; 3+ messages in thread
From: Palash Mohanlal Kasodhan @ 2003-08-25  2:47 UTC (permalink / raw)
  To: linux-c-programming

Hi:
    Is there a way to specify the priority of a process you are creating
by fork() besides using the 'nice' command..more specifically an API call
to specify the priority at the time of creating a process ..like an RTOS


thanks

palash


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: specifying process priority
  2003-08-25  2:47 specifying process priority Palash Mohanlal Kasodhan
@ 2003-08-25  3:19 ` Glynn Clements
  2003-08-25  5:52 ` John T. Williams
  1 sibling, 0 replies; 3+ messages in thread
From: Glynn Clements @ 2003-08-25  3:19 UTC (permalink / raw)
  To: Palash Mohanlal Kasodhan; +Cc: linux-c-programming


Palash Mohanlal Kasodhan wrote:

>     Is there a way to specify the priority of a process you are creating
> by fork() besides using the 'nice' command..more specifically an API call
> to specify the priority at the time of creating a process ..like an RTOS

	setpriority()

-- 
Glynn Clements <glynn.clements@virgin.net>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: specifying process priority
  2003-08-25  2:47 specifying process priority Palash Mohanlal Kasodhan
  2003-08-25  3:19 ` Glynn Clements
@ 2003-08-25  5:52 ` John T. Williams
  1 sibling, 0 replies; 3+ messages in thread
From: John T. Williams @ 2003-08-25  5:52 UTC (permalink / raw)
  To: Palash Mohanlal Kasodhan, linux-c-programming

There are two functions you might want to look at

setpriority and nice
just read the man pages
man 2 nice  and man 2 setpriority








----- Original Message ----- 
From: "Palash Mohanlal Kasodhan" <pmkasodh@unity.ncsu.edu>
To: <linux-c-programming@vger.kernel.org>
Sent: Sunday, August 24, 2003 10:47 PM
Subject: specifying process priority


> Hi:
>     Is there a way to specify the priority of a process you are creating
> by fork() besides using the 'nice' command..more specifically an API call
> to specify the priority at the time of creating a process ..like an RTOS
>
>
> thanks
>
> palash
>
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-25  5:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-25  2:47 specifying process priority Palash Mohanlal Kasodhan
2003-08-25  3:19 ` Glynn Clements
2003-08-25  5:52 ` John T. Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).