rpm at xenomai.org
Mon Oct 2 15:52:19 CEST 2017
On 10/02/2017 12:39 PM, Giulio Moro wrote:
> The Xenomai documentation for pthread_cond_variable says
> "Note that only pthread_cond_init() may be used to initialize a condition variable, using the static initializer PTHREAD_COND_INITIALIZER is not supported."
> However, demo/posix/cyclictest/cyclictest.c has the following line:
> static pthread_cond_t refresh_on_max_cond = PTHREAD_COND_INITIALIZER;
> which seems to contradict the above prescription.
The doc. was not updated following a feature addition. Convar and mutex
initializers are available.
More information about the Xenomai