[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.
>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.


Let's wait for someone to tell us more about this.


More information about the Ecos-discuss mailing list