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: Almudena Garcia
Subject: Re: [PATCH] Add last processor to process stat
Date: Sun, 27 Oct 2019 19:44:23 +0100

Attached new patch

El dom., 27 oct. 2019 a las 19:17, Samuel Thibault (<samuel.thibault@gnu.org>) escribió:
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

Attachment: fill_lastprocessor_mach_v3.patch
Description: Text Data


reply via email to

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