def as_ctrait ( self ):
        trait = super( Delegate, self ).as_ctrait()
        trait.delegate( self.delegate, self.prefix, self.prefix_type,
                        self.modify )

        return trait

#-------------------------------------------------------------------------------
#  'DelegatesTo' trait:
#-------------------------------------------------------------------------------
Release thread locks.
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/Delegate.as_ctrait--crossover with--dataset/ETHPy150Open rene-aguirre/pywinusb/pywinusb/hid/core.py/HidDevice.InputReportQueue.release_events