Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71773 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36797 invoked from network); 30 Jan 2014 05:44:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2014 05:44:49 -0000 Authentication-Results: pb1.pair.com header.from=php@bof.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@bof.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bof.de designates 80.242.145.70 as permitted sender) X-PHP-List-Original-Sender: php@bof.de X-Host-Fingerprint: 80.242.145.70 mars.intermailgate.com Received: from [80.242.145.70] ([80.242.145.70:40269] helo=mars.intermailgate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 98/0E-52228-EC6E9E25 for ; Thu, 30 Jan 2014 00:44:49 -0500 Received: (qmail 25486 invoked by uid 1009); 30 Jan 2014 06:44:42 +0100 Received: from 213.135.15.139 by mars (envelope-from , uid 89) with qmail-scanner-1.25-st-qms (clamdscan: 0.96.2/18413. spamassassin: 3.3.1. perlscan: 1.25-st-qms. Clear:RC:0(213.135.15.139):SA:0(0.3/10.0):. Processed in 0.729949 secs); 30 Jan 2014 05:44:42 -0000 X-Spam-Status: No, hits=0.3 required=10.0 X-Antivirus-MYDOMAIN-Mail-From: php@bof.de via mars X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:0(213.135.15.139):SA:0(0.3/10.0):. Processed in 0.729949 secs Process 25478) Received: from unknown (HELO rofl.localnet) (gmail@bof.de@213.135.15.139) by mars.intermailgate.com with AES256-SHA encrypted SMTP; 30 Jan 2014 06:44:42 +0100 To: Yasuo Ohgaki Cc: "internals@lists.php.net" Date: Thu, 30 Jan 2014 06:44:41 +0100 Message-ID: <8644110.XYpFnEDCiN@rofl> User-Agent: KMail/4.11.5 (Linux/3.13.0-k10-bof; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <18069656.FoN8fZuO6C@rofl> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [PHP-DEV] Re: [VOTE] Introduce session.lock, session.lazy_write and session.lazy_destory From: php@bof.de (Patrick Schaaf) On Thursday 30 January 2014 14:34:35 Yasuo Ohgaki wrote: > > > Generally a really dangerous feature. minimize_lock sounds so friendly, > > does > > not imply danger really. > > > > Alternative naming proposal: unlocked_thus_unsafe > > It sounds good idea. How about shorter name? > > unsafe_lock Well, from the user (PHP code) level it is not a lock at all. The localized flocking is purely for internal consistency of the individual read or write operation, in that case. That's why I wanted to have 'unlocked' in the name. And for such a dangerous option (*) I think that a very expressive long name would be a good fit. best regards Patrick (*) yes I remember that I suggested it in the first place, back in October :)