#NEWLINE# def __init__( self , task_msg ) : #NEWLINE# #INDENT# self . task_msg = task_msg #NEWLINE# self . lock = comms . IPCLock ( self . task_msg . semaphore_id ) #NEWLINE# self . shmem = comms . SharedMmap ( self . task_msg . shmem_name , self . task_msg . shmem_size , offset = self . task_msg . shmem_offset )