openwsn-berkeley/openwsn-sw — pull request #32 by kb2ma (2013-06-24 08:55:23+00:00)
Title: SW-66. Close app threads when click system close ('X') button

openVisualizerGui.py --
OpenVisualizerGui_app: Close thread-based components openTun, RPL,
and moteProbes.
OpenVisualizerGui: Remove direct references to
individual modules, instead reference indirectly through app.
Also add logging capability.

moteProbe.py -- Add flag variable to stop processing serial comm. Also,
daemonize thread if in simulator mode. Otherwise, moteProbes sometimes
persist.

openTunLinux.py and
openTunWindows.py -- Finish read thread by sending a UDP packet to TUN
interface, which breaks out of blocking read.

RPL.py -- Cancel timer

OpenWindow.py -- Add reference to application so can close from UI
openvisualizer_utils.py -- Add function to print a list of active
threads.
logging.conf -- Add openVisualizerGui and remove moteProbeSerialThread