[Bug 1806] SMP: affinity step #1

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu May 26 17:39:48 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1806

--- Comment #3 from Gedare <giddyup44 at yahoo.com> 2011-05-26 12:39:48 CDT ---
Two more comments.
(In reply to comment #2)
> thread.h:
> +#define RTEMS_CPU_AFFINITY_ANY (-1)
> I'm not sure about a negative default value for an unsigned field (affinity).
> Can we use something else like MAX_CPUS or something? This isn't a big deal to
> me.
> 
I guess we might not know the MAX_CPUS value. I would at least change this to
(uint32_t(-1)).

> threadinitialize.c:

+
Avoid more than 1 blank line.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list