Markus Fischer wrote: > Hi, > > how much thread-safe is PHP on linux when compiled with > --enable-experimental-zts ? When I a set up a callback > handler for a 3rd library which uses threads and in this (C) > callback I call call_user_function() (to provide custom > callbacks) -> bang , I get a segfault. Should it work and I'm > doing something stupid or is this some limitation? Hints? > > - Markus >
PHP is thread safe, not multi-threaded. ie. scripts cannot be multi-threaded. You will have to somehow proxy the data back to the original calling thread for your library to work. Shane -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php