public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Backwoods BC <completely.and.totally.trash@gmail.com>
To: cygwin@cygwin.com
Subject: Re: default high priority for mintty
Date: Thu, 29 Feb 2024 21:45:00 -0800	[thread overview]
Message-ID: <CAKwdsS8xNZdUsniWu8mMN+fmwDF4wcc=wRMqK+rw6TEQ=MRwnA@mail.gmail.com> (raw)
In-Reply-To: <urqtf5$36c$1@ciao.gmane.io>

On Thu, Feb 29, 2024 at 1:38 PM Charles Russell via Cygwin
<cygwin@cygwin.com> wrote:
>
> What is the easiest way to open mintty with high priority by default?
> Adding /High to the shortcut command string no longer seems to work in
> Windows 11.

Assuming that you're using the mintty window to run bash, or another
shell, you can include a command in your init script (e.g. .bash_rc)
to change the priority using 'renice':
renice -n <priorityChange> --pid $PPID
negative values of 'priorityChange' increase priority up to a maximum
of -20 which Windows 10 reports as "realtime"

      reply	other threads:[~2024-03-01  5:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-29 21:37 Charles Russell
2024-03-01  5:45 ` Backwoods BC [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='CAKwdsS8xNZdUsniWu8mMN+fmwDF4wcc=wRMqK+rw6TEQ=MRwnA@mail.gmail.com' \
    --to=completely.and.totally.trash@gmail.com \
    --cc=cygwin@cygwin.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).