Search found 5 matches

by recurry
Mon Aug 19, 2013 11:04 pm
Forum: General Support
Topic: Events improvement or misunderstanding?
Replies: 8
Views: 4571

Re: Events improvement or misunderstanding?

Ok, I took a look at the kernel code and I think I have it. You used the "event mask" concept to enable the "any" and "all" capability without huge code complexity. Here's my understanding now it simple (to me) terms.

1. Because "event listeners" can be created at will, any number of listener ...
by recurry
Mon Aug 19, 2013 7:15 pm
Forum: General Support
Topic: Events improvement or misunderstanding?
Replies: 8
Views: 4571

Re: Events improvement or misunderstanding?

Thanks Giovanni,

That's not going to work. I'm not building a driver. I've got various threads that all need to take input from the buttons and only need to wake up when a certain button is pressed. Obviously you had a different purpose in mind for "events" than I'm thinking about how they are ...
by recurry
Mon Aug 19, 2013 4:45 pm
Forum: General Support
Topic: Events improvement or misunderstanding?
Replies: 8
Views: 4571

Re: Events improvement or misunderstanding?

So, to add to my previous post. Perhaps I'm going about this all wrong. Let me describe what I want to do and perhaps there is a better OS mechanism to address it.

The device I'm working on has multiple pushbuttons. One button is for user input. The interface is designed to perform different ...
by recurry
Mon Aug 19, 2013 4:27 pm
Forum: General Support
Topic: Events improvement or misunderstanding?
Replies: 8
Views: 4571

Re: Events improvement or misunderstanding?

Hi Giovanni,

My explanation was rather obtuse now that I re-read it and see your responses. The primary issue I have is related to your last response. That is that a thread will wakeup as a result of any event and it must be checked programmatically after it wakes up to determine if it was awakened ...
by recurry
Mon Aug 19, 2013 12:55 am
Forum: General Support
Topic: Events improvement or misunderstanding?
Replies: 8
Views: 4571

Events improvement or misunderstanding?

Hi Giovanni and other ChibiOS experts

Events have the potential to be very powerful but the feature seems to be missing what appears to be an easy to implement but important capability - at least in the way I understand to use them which may be totally wrong so feel free to correct me if necessary ...