codepiet / LogicSim3

LogicSim3 - Digital Circuit Simulator - written in Java
GNU General Public License v3.0
19 stars 13 forks source link

event system is not working properly #5

Closed codepiet closed 4 years ago

codepiet commented 4 years ago

in large circuits the event system fire to many events. the checks I an event has to be fired for another component has to be examined and fixed.

codepiet commented 4 years ago

everything is fine, switching time 10ms at least on a raspberry pi. seems to be ok. when a part changes its output state an event for each listener will be generated. an event queue is filled, and another thread is processing the queue and feeds the listeners with the events.