tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: php-apcu file descriptor leak

On Thu, Sep 09, 2021 at 02:27:38PM +0000, Emmanuel Dreyfus wrote:
> +# There is an x86 assembly spinlock option. 
> +# It is faster, and it does not leak file descriptors...
> +.if ${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == amd64 || \
> +    ${MACHINE_ARCH} == x86_64

amd64 isn't valid for MACHINE_ARCH.

I'd like to know whether the assembly for i386 is PIC safe,
assembly for i386 often isn't

Home | Main Index | Thread Index | Old Index