HI all, thanks for all the responses. Using mutexes instead of semaphores actually solves the issue. However, the API documentation of rt_sem_create() is a little bit confusing here. The "mode" parameter of rt_sem_create() may contain "S_PRIO" which "makes tasks pend in priority order on the semaphore". I interpret this that it works actually the very same as with mutexes. However, it is implemented that sem_v directly triggers a waiting task (even if it is low prio). As the semaphore has nothing to do with the scheduler, this makes sense. However, this cannot be found within the API documentation.
Regards Mathias -- Mathias Koehrer [EMAIL PROTECTED] Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 39,85 inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2 _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
