Changeset 535:f42fe0ead68f for src/mlx
- Timestamp:
- 09/01/13 09:15:58 (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fsuipc.py
r530 r535 4 4 import util 5 5 import acft 6 from watchdog import Watchdog 6 7 7 8 import threading … … 244 245 self._periodicRequests = [] 245 246 247 self._watchdogClient = Watchdog.get().addClient(2.0, "fsuipc.Handler") 248 246 249 self.daemon = True 247 250 … … 441 444 needReconnect = False 442 445 try: 446 self._watchdogClient.set() 443 447 try: 444 448 if not request.process(time): … … 459 463 return 0 460 464 finally: 465 self._watchdogClient.clear() 461 466 self._requestCondition.acquire() 462 467 -
src/mlx/mlx.py
r402 r535 5 5 from util import secondaryInstallation 6 6 from const import VERSION 7 from watchdog import Watchdog 7 8 8 9 import os … … 90 91 91 92 try: 93 Watchdog().start() 94 92 95 gui.build(programDirectory) 93 96 -
src/mlx/xplane.py
r505 r535 3 3 import const 4 4 import util 5 from watchdog import Watchdog 5 6 6 7 import threading … … 341 342 self._periodicRequests = [] 342 343 344 self._watchdogClient = Watchdog.get().addClient(2.0, "xplane.Handler") 345 343 346 self.daemon = True 344 347 … … 571 574 needReconnect = False 572 575 try: 576 self._watchdogClient.set() 573 577 try: 574 578 if not request.process(time): … … 589 593 return 0 590 594 finally: 595 self._watchdogClient.clear() 591 596 self._requestCondition.acquire() 592 597
Note:
See TracChangeset
for help on using the changeset viewer.