[ECOS] from ISR to thread
harri.siirtola@vtt.fi
harri.siirtola@vtt.fi
Wed Dec 5 05:08:00 GMT 2001
At 13:56 5.12.2001 +0100, Schmidt Henning Larsen wrote:
>> ...
>> in your DSR:
>>
>> cyg_semaphore_post(sem)
>>
>> every post increments "sem" so you won't miss any. I'm using
>> this all the
>> time.
>> ...
>That would be to easy :-)
>You can't use cyg_semaphore_post(sem) in an dsr.
>http://sources.redhat.com/ecos/docs-latest/ref/ecos-ref.13.html#pgfId=108034
>6
>
>Don't you have any problems. I've been told that it might
>corrupt kernel structures.
Now why can't I? And yes, I have problems ;) If what you said is true, I
might find out something new. I thought posting a semaphore is quite a
simple operation, and many heavier operations are allowed in a DSR.
>
>Henning
Let's wait for someone to tell us more about this.
Harri
More information about the Ecos-discuss
mailing list