This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: from ISR to thread
- From: harri dot siirtola at vtt dot fi
- To: Schmidt Henning Larsen <HenningLS at danfoss dot com>, "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 05 Dec 2001 15:08:31 +0200
- Subject: RE: [ECOS] from ISR to thread
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