tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: php-apcu file descriptor leak
On Fri, Sep 10, 2021 at 05:51:34PM +0000, nia wrote:
> I'd like to know whether the assembly for i386 is PIC safe,
> assembly for i386 often isn't
apc_lock_try
"xchgl %0, 0(%1)" :
"=r" (failed) : "r" (&lock->state),
"0" (failed)
apc_lock_release
"xchg %0, 0(%1)" : "=r" (released) : "r" (&lock->state),
"0" (released)
--
Emmanuel Dreyfus
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index