yuriykulikov / Abandoned-Event-driven_Framework_for_Embedded_Systems

Abandoned, C++ did not work out so well. See pure C implementation here - https://github.com/yuriykulikov/EventDrivenEmbeddedFramework
21 stars 6 forks source link

Resolve problems with Handler-Looper bi-directional coupling #5

Open yuriykulikov opened 11 years ago

yuriykulikov commented 11 years ago

When I have tried to encapsulate the queue in the Looper (which we need to add/remove messages), I was not able t build, because Handler was not able to resolve Looper. I have had the samr problem with Message-Handler coupling, which was resolved by introducing a typedef MESSAGE.

yuriykulikov commented 11 years ago

It seems that removing messages and checking for their presence is not used that often.

Lowest prio