bug-hurd
[Top][All Lists]
Advanced

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

Re: How do I learn the Hurd stuff?


From: Almudena Garcia
Subject: Re: How do I learn the Hurd stuff?
Date: Thu, 30 Aug 2018 23:46:46 +0200

Yes. With "duplicate", I referred to exists code files which has an implementation to single core case and other implementation to the multicore case.
Not the same exact code, simply the files has different algorithms to each case.

El jue., 30 ago. 2018 a las 23:37, Samuel Thibault (<samuel.thibault@gnu.org>) escribió:
Almudena Garcia, le jeu. 30 août 2018 20:43:24 +0200, a ecrit:
> If I execute "grep -R "NCPUS > 1", it returns this files ;)

> kern/machine.c:#if    NCPUS > 1
> kern/machine.c:#endif    /* NCPUS > 1 */
> kern/machine.c:#if    NCPUS > 1
> kern/machine.c:#else    /* NCPUS > 1 */
> kern/machine.c:#endif /* NCPUS > 1 */

That does not mean code duplication, but just special-casing, which is
really not surprising for an OS.

Samuel

reply via email to

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