This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]