Re: [PHP-DEV] thread safety for binding issues

2002-03-31 Thread Markus Fischer
Bless You! It still segfaults all over the place (which is another story), but that particular call_user_function() now works, thanks :) and happy easter egg searching ;) - Markus On Sun, Mar 31, 2002 at 01:11:27PM +0300, Zeev Suraski wrote : At 20:59 30/03/2002, Markus

Re: [PHP-DEV] thread safety for binding issues

2002-03-30 Thread Markus Fischer
Yes, thanks for the answer. I think the problem is just that I mixed up two different things (thread-safety vs. multi-threaded). Err .. any idea if/when PHP itself will get MTed ? :) - Markus On Sat, Mar 30, 2002 at 09:14:56AM +0200, Zeev Suraski wrote : It should work,

Re: [PHP-DEV] thread safety for binding issues

2002-03-30 Thread Zeev Suraski
Get MT'd? What do you mean by that? We have no plans to make PHP a multithreaded application at any time in the future, but I'm not exactly sure why it matters to you..? Zeev At 17:16 30/03/2002, Markus Fischer wrote: Yes, thanks for the answer. I think the problem is just that I

Re: [PHP-DEV] thread safety for binding issues

2002-03-30 Thread Shane Caraveo
My understanding from Markus' original email was that the library he is using calls back into php on a different thread than that which he called it with. Shane Zeev Suraski wrote: Get MT'd? What do you mean by that? We have no plans to make PHP a multithreaded application at any time in

Re: [PHP-DEV] thread safety for binding issues

2002-03-30 Thread Zeev Suraski
Markus - is that what you're talking about..? Zeev At 20:37 30/03/2002, Shane Caraveo wrote: My understanding from Markus' original email was that the library he is using calls back into php on a different thread than that which he called it with. Shane -- PHP Development Mailing List

Re: [PHP-DEV] thread safety for binding issues

2002-03-30 Thread Markus Fischer
Yes, exactly. On Sun, Mar 31, 2002 at 12:48:04AM +0300, Zeev Suraski wrote : Markus - is that what you're talking about..? Zeev At 20:37 30/03/2002, Shane Caraveo wrote: My understanding from Markus' original email was that the library he is using calls back into php on a

Re: [PHP-DEV] thread safety for binding issues

2002-03-30 Thread Zeev Suraski
At 20:59 30/03/2002, Markus Fischer wrote: Yes, exactly. Ok, in that case, by default this won't work 'very nicely' with PHP (because it's not very standard), but you should be able to get it to work relatively easily. The problem: All of PHP's resources (globals, memory management,

Re: [PHP-DEV] thread safety for binding issues

2002-03-29 Thread Shane Caraveo
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)

Re: [PHP-DEV] thread safety for binding issues

2002-03-29 Thread Markus Fischer
On Fri, Mar 29, 2002 at 09:14:46AM -0800, Shane Caraveo wrote : 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)

Re: [PHP-DEV] thread safety for binding issues

2002-03-29 Thread Shane Caraveo
Markus Fischer wrote: On Fri, Mar 29, 2002 at 09:14:46AM -0800, Shane Caraveo wrote : 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

Re: [PHP-DEV] thread safety for binding issues

2002-03-29 Thread Zeev Suraski
It should work, it's using exactly the same thread safe code as the one under Windows... Zeev At 14:14 29/03/2002, 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