Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65471 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26522 invoked from network); 30 Jan 2013 06:09:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2013 06:09:53 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.46 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.46 mail-la0-f46.google.com Received: from [209.85.215.46] ([209.85.215.46:45598] helo=mail-la0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/33-09318-F29B8015 for ; Wed, 30 Jan 2013 01:09:52 -0500 Received: by mail-la0-f46.google.com with SMTP id fq12so842244lab.19 for ; Tue, 29 Jan 2013 22:09:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=HatGULF3DwrgK7CATFNjtIO5ZNdNgcdzASQy5pImYnc=; b=JFh2+d9/OephEV0KLmde2PKwzGrwcv3ieIKgfoRNqoawKPY8MpzypuYl8jIc4jLWS2 T2MbPM3orup30hoTrgVab6/AVMbXp9C7xNGXc262ZdeAFoXoJearYiqZJHOxScxdSdMq 2yVlykJQXhhau0t8Hyj/y4sTjjuz9IPM/YzFBmNGG7E8FhvlyU/VpzZAGCLn+NRTtjxy 08o9+YjGY9nvEgHC82xhvGiqnqteTBU+d++Eeqj6HDnD3ciT8aLNwe51W5jD6Ll82ecK vSC57bJA/GX7EfWOea6afIhY05jtYmiCpdaT/t9gcrCEDI2aK0U9odlGNQDhK67ZIJTo m5Hg== MIME-Version: 1.0 X-Received: by 10.112.103.167 with SMTP id fx7mr1484975lbb.19.1359526187908; Tue, 29 Jan 2013 22:09:47 -0800 (PST) Received: by 10.112.2.69 with HTTP; Tue, 29 Jan 2013 22:09:47 -0800 (PST) In-Reply-To: <5108743A.9090705@sugarcrm.com> References: <5108743A.9090705@sugarcrm.com> Date: Wed, 30 Jan 2013 07:09:47 +0100 Message-ID: To: Stas Malyshev Cc: Zeev Suraski , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] ZTS - why are you using it? From: pierre.php@gmail.com (Pierre Joye) On Wed, Jan 30, 2013 at 2:15 AM, Stas Malyshev wrote: > Hi! > >> Python, for example, is thread safe by default. Extensions developers > > Doesn't Python have global engine lock? Right, but they do not give up thread safety. See "Thread State and the Global Interpreter Lock" in: http://docs.python.org/2/c-api/init.html The TS model in php should be redesigned in the next major version, instead of simply giving it up. Cheers, -- Pierre @pierrejoye