parameters: (self, AttributeList)
docstring: @type  AttributeList: list of tuple( int, ctypes-compatible object )
          @param AttributeList: List of (Attribute, Value) pairs.
function: def __init__(self, AttributeList):
          """
          @type  AttributeList: list of tuple( int, ctypes-compatible object )
          @param AttributeList: List of (Attribute, Value) pairs.
          """
          self.AttributeList = AttributeList
          self.AttributeListBuffer = InitializeProcThreadAttributeList(
                                                              len(AttributeList))
          try:
              for Attribute, Value in AttributeList:
                  UpdateProcThreadAttribute(self.AttributeListBuffer,
                                            Attribute, Value)
          except:
              ProcThreadAttributeList.__del__(self)
              raise
function_tokens: def __init__ ( self , AttributeList ) : self . AttributeList = AttributeList self . AttributeListBuffer = InitializeProcThreadAttributeList ( len ( AttributeList ) ) try : for Attribute , Value in AttributeList : UpdateProcThreadAttribute ( self . AttributeListBuffer , Attribute , Value ) except : ProcThreadAttributeList . __del__ ( self ) raise