bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add last processor to process stat


From: Samuel Thibault
Subject: Re: [PATCH] Add last processor to process stat
Date: Sun, 27 Oct 2019 19:17:20 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Almudena Garcia, le dim. 27 oct. 2019 19:09:17 +0100, a ecrit:
> --- gnumach/kern/thread.c 2019-09-03 01:22:10.932747830 +0200
> +++ GNUMach_SMP/kern/thread.c 2019-10-27 19:00:17.577010318 +0100
> @@ -1530,6 +1530,16 @@
>      read_time_stamp(&thread->creation_time,
>      &basic_info->creation_time);
>  
> + #if THREAD_BASIC_INFO_COUNT > 10

That will be always true. What you want to check is *thread_info_count.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]