getpriority() and top display for priority is inconsistent
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Aug 8 08:00:00 GMT 2019
On Aug 7 19:27, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
> > Please give it a try.
>
> diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc
> index 2a06554..2305b53 100644
> --- a/winsup/cygwin/fhandler_process.cc
> +++ b/winsup/cygwin/fhandler_process.cc
> @@ -1076,7 +1076,7 @@ format_process_stat (void *data, char *&destbuf)
> unsigned long fault_count = 0UL,
> vmsize = 0UL, vmrss = 0UL, vmmaxrss = 0UL;
> uint64_t utime = 0ULL, stime = 0ULL, start_time = 0ULL;
> - int priority = 0;
> +
> [...]
Close enough for a start, thanks. I pushed your patch with a short
commit message.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20190808/afa52fad/attachment.sig>
More information about the Cygwin
mailing list