runtime/Worker.py
changeset 2492 7dd551ac2fa0
parent 2486 44c2a4e2b84d
child 2536 2747d6e72eb8
equal deleted inserted replaced
2491:362039519454 2492:7dd551ac2fa0
     7 #
     7 #
     8 # See COPYING.Runtime file for copyrights details.
     8 # See COPYING.Runtime file for copyrights details.
     9 
     9 
    10 from __future__ import absolute_import
    10 from __future__ import absolute_import
    11 import sys
    11 import sys
    12 import six
       
    13 import thread
    12 import thread
    14 from threading import Lock, Condition
    13 from threading import Lock, Condition
       
    14 import six
    15 
    15 
    16 
    16 
    17 class job(object):
    17 class job(object):
    18     """
    18     """
    19     job to be executed by a worker
    19     job to be executed by a worker