Make Dispatcher event loop thread more robust
commit9acc959121735cc72cd68268892af7c277e3e8f2
authorSean Robinson <seankrobinson@gmail.com>
Sat, 12 Apr 2014 15:48:57 +0000 (12 08:48 -0700)
committerSean Robinson <seankrobinson@gmail.com>
Sat, 12 Apr 2014 15:48:57 +0000 (12 08:48 -0700)
tree43c082f77f9f1d11e3d2219e11bbae3edbce7c7a
parent9e70b51c9887345fe19ab5373f7d790650449656
Make Dispatcher event loop thread more robust

This includes only allowing one such loop at a time and optionally
creating a Dispatcher without automatically starting the event loop.
The updated tests better reflect the way Dispatcher works now and
has worked since commit 5fd979f12f9dd5c4.

Signed-off-by: Sean Robinson <seankrobinson@gmail.com>
test/unit/pubsub.py
wifiradar/pubsub.py