From: "John T. Williams" <jowillia@vt.edu>
To: Palash Mohanlal Kasodhan <pmkasodh@unity.ncsu.edu>,
linux-c-programming@vger.kernel.org
Subject: Re: specifying process priority
Date: Mon, 25 Aug 2003 01:52:21 -0400 [thread overview]
Message-ID: <000c01c36acd$0d5d15b0$ed64a8c0@descartes> (raw)
In-Reply-To: Pine.GSO.4.56.0308242242470.24177@uni01du.unity.ncsu.edu
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
prev parent reply other threads:[~2003-08-25 5:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000c01c36acd$0d5d15b0$ed64a8c0@descartes' \
--to=jowillia@vt.edu \
--cc=jtwilliams@vt.edu \
--cc=linux-c-programming@vger.kernel.org \
--cc=pmkasodh@unity.ncsu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).