On Thu, Jan 6, 2022 at 4:23 AM Gregory Nutt wrote:
> > I truly believe that priority inheritance on counting semaphores should
> be
>
> explicitly enabled (disabled by default) and enabling it by default might
>
> lead to unexpected priority boost for low priority tasks that violates
>
> real-tim
Hi,
Yes, POSIX does not support priority inheritance on counting semaphores,
but priority inheritance things seems to be already broken for a long time.
I mean the changes like https://github.com/apache/incubator-nuttx/pull/5170
just highlight the top of an iceberg.
For the POSIX compliance of pt
More background:
https://nuttx.yahoogroups.narkive.com/3hggphCi/problem-related-semaphore-and-priority-inheritance
On Wed, Jan 5, 2022 at 2:22 PM Gregory Nutt wrote:
> > I truly believe that priority inheritance on counting semaphores should
> be
>
> explicitly enabled (disabled by default) and
> I truly believe that priority inheritance on counting semaphores should be
explicitly enabled (disabled by default) and enabling it by default might
lead to unexpected priority boost for low priority tasks that violates
real-time requirements.
It has been enabled by default since day one so
Going more forward from POSIX pthread mutex protocol description:
The protocol attribute defines the protocol to be followed in utilizing
mutexes. The value of protocol may be one of:
- PTHREAD_PRIO_INHERIT
- PTHREAD_PRIO_NONE
- PTHREAD_PRIO_PROTECT
which are defined in the header. The default
Hi team,
Sorry I probably missed some part of discussion. So it was decided to keep
priority inheritance ON for counting semaphores by default if the feature
is enabled? And we are modifying all the POSIX by adding explicit setting
to SEM_PRIO_NONE?
I truly believe that priority inheritance on co
Here are the two patch which demo that POSIX compliant code crash directly
when CONFIG_PRIORITY_INHERITANCE is enabled:
https://github.com/apache/incubator-nuttx/pull/5170
https://github.com/apache/incubator-nuttx-apps/pull/960
Please give your more feedback at
https://github.com/apache/incubator-n
Thanks for sharing!
-Original Message-
From: Nathan Hartman
Sent: den 5 januari 2022 04:22
To: dev@nuttx.apache.org
Subject: Re: Top Apache Projects
On Tue, Jan 4, 2022 at 9:08 PM Gregory Nutt wrote:
>
> Interesting:
> https://urldefense.com/v3/__https://thestack.technology/top-apache-
The last commits on Licenses are almost done and I will push them ASAP then we
will open a discussion thread to see what we do with the orphan ones
Best regards
Alin
-Original Message-
From: Xiang Xiao
Sent: den 5 januari 2022 06:48
To: dev@nuttx.apache.org
Subject: Re: Top Apache Pro