Iwan Budi Kusnanto wrote:
> Hello all
> why rt_sem_p does not have behaviour like down_interruptible (that
> receive a signal while being blocked on a semaphore to give up the
> "down"/"p" operation).Is that a bad design?
> sem_wait (posix skin)have behaviour like that.

rt_sem_p() does have the desired property. If you observed anything
different in practice, it would be a bug and we would be happy to hear
more details (used versions, testcase code, etc.).

Just note that signal delivery breaks the determinism of the target
application.

> 
> In what situation we must use posix skin?
> In what situation we must use native skin?

There are no technical reasons to pick any of them, it's purely a design
question of your application (/me being in hurry and can't go into
details ATM).

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