Re: pcntl_fork() hangs with FUTEX_WAIT

From: Date: Thu, 17 Feb 2005 18:36:16 +0000
Subject: Re: pcntl_fork() hangs with FUTEX_WAIT
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-208946@lists.php.net to get a copy of this message
Steve wrote: > > Well, but I don't use multithreading? PHP is running as CLI exec, not > compiled into Apache... > > That's my configure command: > ./configure --enable-pcntl --with-curl --with-mysql > > Or do I have to care for thread safety anyway? For all I know (not much) --enable-pcntl may imply that you are doing multi-threading... Doesn't it kind of have to? I mean, isn't that what pcntl *DOES*? Allow you to 'fork' a new process, which has its own separate thread, by definition? Or maybe processes and threads are different enough that you're okay on this one... If so, you have to re-compile cURL and MySQL with multi-threading turned on as well, at least as I understand the Google answers. Or maybe you turned on multi-threading with cURL and MySQL when you compiled them for Apache, but now you need that *OFF* to work with your non-thread CLI PHP binary. Maybe there's a command line tool to ask a ".so" file if it's threaded or not? Maybe even just 'file foo.so' will tell you??? -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#208946) next »