[PATCH v5] cpukit/librcxx: Add a C++ thread interface with attributes
joel at rtems.org
Tue Oct 6 13:33:07 UTC 2020
One last pile on. It is minor but you said "scheduler modes" for
inherit/explicit. I couldn't place what bothered me about that wording.
This morning it hit me that modes is a Classic API term. I think your
comments could talk about it in these terms and use the POSIX terms like
scheduling attributes, policy, etc.
PTHREAD_INHERIT_SCHEDSpecifies that the thread scheduling attributes shall
be inherited from the creating thread, and the scheduling attributes in
this *attr* argument shall be ignored.PTHREAD_EXPLICIT_SCHEDSpecifies that
the thread scheduling attributes shall be set to the corresponding values
from this attributes object.
On Tue, Oct 6, 2020 at 1:13 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> Hello Chris,
> thanks, looks good.
> I would have added the stuff to <rtems/thread.hpp> similar to
> <boost/thread.hpp>, but this is a matter of taste.
> devel mailing list
> devel at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel