Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1256 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83588 invoked from network); 5 May 2003 11:12:59 -0000 Received: from unknown (HELO milton.schell.de) (217.160.72.35) by pb1.pair.com with SMTP; 5 May 2003 11:12:59 -0000 Received: (qmail 12136 invoked by uid 501); 5 May 2003 11:12:58 -0000 Received: from unknown (HELO eco.foo) (80.143.17.182) by kdserv.de with SMTP; 5 May 2003 11:12:58 -0000 Received: from localhost (localhost [127.0.0.1]) by eco.foo (Postfix) with ESMTP id 3FD4B100EB; Mon, 5 May 2003 13:12:55 +0200 (CEST) Date: Mon, 5 May 2003 13:12:55 +0200 (CEST) X-X-Sender: sas@eco.foo To: Terence Cc: internals@lists.php.net In-Reply-To: <20030505110212.72298.qmail@pb1.pair.com> Message-ID: References: <1051831866.2944.10.camel@hemna.uh.nu> <20030505110212.72298.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] xmldoc() takes ages >>> thread safety. From: sascha@schumann.cx (Sascha Schumann) > I'm wandering if it is neccesary to use flock() on ALL filesystem > interactions in a web based (multi-threaded) application. flock and fcntl predate the multi-threaded approach on Unix and as such they have process granularity, i.e. they won't help in multi-threaded environments. - Sascha