public override IntPtr GetInput(int length) { lock (lockObject) { return(FFTWFNativeMethods.malloc(4 * length)); } }