Am Sonntag, 17. September 2006 19:06 schrieb Philippe Gerum:
> On Fri, 2006-09-15 at 21:44 +0200, Niklaus Giger wrote:
> > Hi
<..>
>
> Maybe the example is misleading in that respect; the patch below makes
> the behaviour constant among all environments:
Thanks for your explanation and the fix. 

But I still have the second deviation from the behaviour under vxWorks and the 
skin behaviour under the xenomai simulator:
semGive returns -1 with an errno of 1441896 = S_semLib_INVALID_OPERATION.
See the output here:

__xeno_user_init: semMCreate 134 taskId 133
__xeno_user_init: semTake 134 status 0 0 taskId 133
__xeno_user_init: semGive 134 status -1 1441896 taskId 133
consumer_task: task 136 ConsumerTask
producer_task: task SEM_DELETE_SAFE 137 ProducerTask

Do you have an explanation for this difference?

Best regards
-- 
Niklaus Giger

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to