aboutsummaryrefslogtreecommitdiff
path: root/operationscore/ThreadedSmootCoreObject.py
blob: 967ee35eda57115d174835fe0fc0659a2c3d19a3 (plain)
1
2
3
4
5
6
7
8
9
10
import pdb
import threading
import thread
import util.Config as configGetter
from operationscore.SmootCoreObject import SmootCoreObject
class ThreadedSmootCoreObject(SmootCoreObject, threading.Thread):
    def __init__(self, argDict, skipValidation = False):
        SmootCoreObject.__init__(self, argDict, skipValidation)
        threading.Thread.__init__(self)
        self.daemon = True #This kills this thread when the main thread stops