Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71778 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48818 invoked from network); 30 Jan 2014 06:31:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2014 06:31:07 -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:40750] helo=mars.intermailgate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/61-42724-AA1F9E25 for ; Thu, 30 Jan 2014 01:31:07 -0500 Received: (qmail 6424 invoked by uid 1009); 30 Jan 2014 07:31:03 +0100 Received: from 209.85.216.179 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:1(209.85.216.179):. Processed in 0.066925 secs); 30 Jan 2014 06:31:03 -0000 X-Antivirus-MYDOMAIN-Mail-From: php@bof.de via mars X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:1(209.85.216.179):. Processed in 0.066925 secs Process 6418) Received: from mail-qc0-f179.google.com (gmail@bof.de@209.85.216.179) by mars.intermailgate.com with RC4-SHA encrypted SMTP; 30 Jan 2014 07:31:03 +0100 Received: by mail-qc0-f179.google.com with SMTP id e16so4414827qcx.10 for ; Wed, 29 Jan 2014 22:31:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PZRKNynl3pkJoLqRtPFPI5CwqATpmCKSfp9uye39OOg=; b=CeX1WZbc/NiO9fe3FWyQBUUrhsNiyztNZth4x0MWPhr6NC8jA3pWXvVDaaYjgBK4ll 90cGd6g/ZPcg5TelcUJubKLzVtGzxr2DMNCeIhDjaUFglbdn1RafwbqcYEuC2S0KxViO bU3qh7c3H8k9I2FrPhE7nCjLkCEhUbILA/+rrumMRe/Wo7dC/5m+73kBnSOZfv0Rv5pR SSUHa2VTnfqBNGlBsGlCB2WmlD+jL0OTKkl77l7CfoZC1Vp7S7Fkj6U46xZxjYrGNMVK GnZn87Wa+Tn0HgRcEQM+haGw2PsAEyx3yg+FmMGSmrAp/9Ps4S7MUKydnuZP57cUk+ht 2HKw== MIME-Version: 1.0 X-Received: by 10.140.96.116 with SMTP id j107mr18118852qge.6.1391063461685; Wed, 29 Jan 2014 22:31:01 -0800 (PST) Received: by 10.140.94.75 with HTTP; Wed, 29 Jan 2014 22:31:01 -0800 (PST) Received: by 10.140.94.75 with HTTP; Wed, 29 Jan 2014 22:31:01 -0800 (PST) In-Reply-To: References: <18069656.FoN8fZuO6C@rofl> <8644110.XYpFnEDCiN@rofl> Date: Thu, 30 Jan 2014 07:31:01 +0100 Message-ID: To: Yasuo Ohgaki Cc: internals Content-Type: multipart/alternative; boundary=001a1139b5d07eb52604f12a3351 Subject: Re: [PHP-DEV] Re: [VOTE] Introduce session.lock, session.lazy_write and session.lazy_destory From: php@bof.de (Patrick Schaaf) --001a1139b5d07eb52604f12a3351 Content-Type: text/plain; charset=ISO-8859-1 Am 30.01.2014 06:53 schrieb "Yasuo Ohgaki" : >> > > 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. > > > I understand the reason. It's descriptive, but 3 words might be too long. > 'transaction_lock' might be good enough for users who know DBMS, but it > may not be enough for others. > > Does anyone have short and good name? If you insist on it being short/shorter, I'd go for unlocked_unsafe or unlocked because I think, and keep thinking, that having "unlocked" there best defuses the traditional expectation that sessions are locked during the whole script run - thus minimizing the surprise to programmers at the PHP level. best regards Patrick --001a1139b5d07eb52604f12a3351--