Commit Graph

7 Commits

Author SHA1 Message Date
zelig 0ecc5c815e reactor test 2014-07-15 00:15:37 +01:00
zelig 3d5db7288f merge upstream 2014-07-14 18:50:06 +01:00
zelig dc11b5c55e fix reactor channel blocking 2014-07-14 18:40:18 +01:00
zelig 4d77b7face remove extra case in main loop 2014-07-07 12:30:25 +01:00
Jeffrey Wilcke 6fe9b4ab5e Revert "ethreact - Feature/ethutil refactor" 2014-07-07 10:59:16 +02:00
zelig 5a2afc5754 fix reactor engine main loop blocked to wait if drained 2014-07-05 19:56:01 +01:00
zelig 0c6f1c9c3a ethreact
- consistent renaming
- React -> Event
- ReactorEvent -> EventHandler
- NewReactorEngine -> New
- async ReactorEngine main loop with select on main eventChannel and quit channel
- ReactorEngine main loop control with Start() Stop() Flush()
- ReactorEngine.dispatch
- use sync.RWMutex
- delete eventHandler if subscribed channels go to 0
2014-07-04 19:38:53 +01:00