php-vips icon indicating copy to clipboard operation
php-vips copied to clipboard

Thread safe

Open WyriHaximus opened this issue 6 years ago • 2 comments

Been testing this extension out on ZTS PHP in ext-parallel and observed some interesting behavior. Is this extension thread safe and can it be used from within a thread? Or is that unknown/untested at the moment?

WyriHaximus avatar Jul 13 '19 21:07 WyriHaximus

Hello @WyriHaximus,

libvips itself certainly is, and the extension ought to be as well. I've never experimented with ZTS though so you may well have run into something.

Post a test case if you find an issue and perhaps we can fix it.

jcupitt avatar Jul 13 '19 23:07 jcupitt

Hey @jcupitt

Will try to put something together later this week. There is a slew of packages involved so I hope the issues is there tbh :smile: .

WyriHaximus avatar Jul 14 '19 21:07 WyriHaximus