Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 69537 invoked by uid 500); 29 Nov 2000 15:48:56 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 69417 invoked from network); 29 Nov 2000 15:48:47 -0000 Date: Wed, 29 Nov 2000 08:48:53 -0800 (PST) From: Rasmus Lerdorf X-Sender: To: Subject: Re: apache-php and pthread In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Which OS? If you are using an OS that uses glibc-2.1.x you are going to have to link libpthreads into Apache or none of this will work. Doing a dlopen() from a binary that is not linked against pthreads of a shared library that is linked against pthreads tickles a nasty bug in glibc. -Rasmus On Wed, 29 Nov 2000, Thomas Eisengarten wrote: > > > hello, > i've searched the internet but i don't find any hints about my problem - so > i write to this list. > i write an extension for php wich dynamicly loads an .so. this .so creates > some pthreds which communicate with an other server. the creation of the > thread does not work and the apache hangs. if i use php as a standalone > executable it works fine. do i need any special attributes or somthing else > to create a thread using pthreads in combination with apache?! > > thanx > > thomas eisengarten > >