Hi Giovanni,
Thanks for your explanation, I also thought that I had misunderstood EventSource and chEvtBroadcast(). I have changed into using chEvtSignalFlagsI() function to wakeup threads I want.
Thanks!
Search found 2 matches
- Mon Apr 08, 2013 4:13 am
- Forum: General Support
- Topic: Ask about Event on ver 2.4.x
- Replies: 3
- Views: 2163
- Fri Apr 05, 2013 9:34 am
- Forum: General Support
- Topic: Ask about Event on ver 2.4.x
- Replies: 3
- Views: 2163
Ask about Event on ver 2.4.x
Hi all,
Chibi is the first OS I use so that I have many misunderstanding when using it. Now I try to use Event and BroadcastFlag, however I see it doesn't work as I wish, or I have something misunderstand. I have 2 threads need to be call by 1 interrupt, like that:
It's main thread:
EventSource ...
Chibi is the first OS I use so that I have many misunderstanding when using it. Now I try to use Event and BroadcastFlag, however I see it doesn't work as I wish, or I have something misunderstand. I have 2 threads need to be call by 1 interrupt, like that:
It's main thread:
EventSource ...