Rodrigo Rosenfeld Rosas wrote:
> Hi,
> Having a look at cond.c in the native skin, I didn't understand why it is not 
> passed the PIP flag to xnsynch_init(). I mean, why the code is not 
> xnsynch_init(&cond->synch_base,XNSYNCH_PIP);
> 
> instead of
> 
> xnsynch_init(&cond->synch_base,XNSYNCH_PRIO);
> 
> ?
> 
> Could someone please point me the reason?
> 

Just as with semaphores: there is no ownership concept for condition
variables. Thus, who should be boosted to your priority in case you
decide to wait on such a resource?

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to