Event set not being cleared

Joel Sherrill joel.sherrill at OARcorp.com
Fri May 23 14:23:53 UTC 2008


Simon Brown wrote:
> On 20/05/08 14:29:32, Joel Sherrill wrote:
>   
>>> status = rtems_event_receive(RTEMS_PENDING_EVENTS, RTEMS_EVENT_ANY
>>> | RTEMS_WAIT, 1, &eventSet);
>>>       
>
>   
>> You are not waiting for any events -- you are asking for the
>> currently pending set.
>>     
> Ah yes :-) that was a bit daft, I should have used RTEMS_ALL_EVENTS.
>
>   
Don't feel bad.  I actually went looking at the cvs history
on the files involved before I noticed you had
RTEMS_PENDING_EVENTS and it was an early out. :-D
> Thanks
>
> Simon
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list