Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85591 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45829 invoked from network); 31 Mar 2015 15:22:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2015 15:22:28 -0000 Authentication-Results: pb1.pair.com header.from=rdlowrey@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rdlowrey@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.181 as permitted sender) X-PHP-List-Original-Sender: rdlowrey@gmail.com X-Host-Fingerprint: 209.85.213.181 mail-ig0-f181.google.com Received: from [209.85.213.181] ([209.85.213.181:34205] helo=mail-ig0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/11-39077-3BBBA155 for ; Tue, 31 Mar 2015 10:22:28 -0500 Received: by igcau2 with SMTP id au2so14286089igc.1 for ; Tue, 31 Mar 2015 08:22:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:from:date:message-id:subject:to:content-type; bh=EKqc88rrvpDu522xyR5gDVc/H5SxjG9D5lJfFIHvrec=; b=TViZ+eDlgsvAL93tB+owCjq+zI+U9EK2FanwPMSRv/pyPrF3eZzTVgoiL265Qdqw7x grQQ97GrEUyevRTnxtJJLfjY+sgNUT5y97Q5UdcS4nid0HgtGqJAX0DszQTAq9v89xvF 7H6uCydXNDmwAGwD8eMy5JuNF8upe+oKVJ/11QNmpm+wtxAjZyTgHQAcoB6OnGcr+REN ISRwfU6tGkF3dpXcQgbxM1uMATRbfIUhX2LBGBnrQvKU2YQar85PKqM9+8o/QzhdgVM4 X8VQsvfmdPWqkHCo7QK+5pzDOba/v2+Sg2q3rQAftjtf3ToK6Y1CLgkJZj4ABFmg0vML AV7g== X-Received: by 10.50.253.12 with SMTP id zw12mr5031917igc.24.1427815345524; Tue, 31 Mar 2015 08:22:25 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 31 Mar 2015 15:22:25 +0000 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11346e3c799a680512972abb Subject: Re: Re: HTTP/2 and Websocket support in 7.x versions From: rdlowrey@php.net (Daniel Lowrey) --001a11346e3c799a680512972abb Content-Type: text/plain; charset=UTF-8 > this ain't exactly true. Currently in MT environment the task of data > separation is pushed to the TSRM by using TLS. Now, if TSRM is > reimplemented in a fashion that the data is not stored by using TLS but > other mechanism and cooperative multitasking is not something that > can't be done. > The truth is that userland is isolated from the process data space so for > it it won't make a difference. It's just that using threads for separation is > the easiest thing (after process per script). The good thing is that TSRM > is an abstraction for its clients. How could we make this work in the absence of TSRM, though? I'm operating under the assumption that any solution would need to work the same way outside the auspices of TSRM. With process forking you'd be talking about pretty complex inter-process signaling to try and accomplish equivalent multitasking. This doesn't seem at all feasible to me on first glance (though I've been wrong plenty of times in the past). --001a11346e3c799a680512972abb--