syncthing/lib/events
Jakob Borg abb3fb8a31
lib/events: Become a service (fixes #5372) (#5373)
Here the event Logger is rewritten as a service with a main loop instead
of mutexes. This loop has a select with essentially two legs: incoming
events, and subscription changes. When both are possible select will
chose one randomly, thus ensuring that in practice unsubscribes will
happen timely and not block the system.
2018-12-13 13:42:28 +01:00
..
debug.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
events.go lib/events: Become a service (fixes #5372) (#5373) 2018-12-13 13:42:28 +01:00
events_test.go lib/events: Become a service (fixes #5372) (#5373) 2018-12-13 13:42:28 +01:00