220 33815 <2113027.SkxpknQi9z@tjmaciei-mobl1> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: string_view for fstream::open()
Date: Thu, 10 Aug 2017 21:26:04 -0700
Lines: 24
Approved: news@gmane.org
Message-ID: <2113027.SkxpknQi9z@tjmaciei-mobl1>
References: <cb7b55ab-7113-4d99-949b-8568627d0b7f@isocpp.org> <1946499.J2ei2Rq2Ih@tjmaciei-mobl1> <CANh-dXkT8-Znfyi5Wjj0qj7c=-yt5+hLXmgw+bZUUN5QRGRLtg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: blaine.gmane.org 1502425573 14024 195.159.176.226 (11 Aug 2017 04:26:13 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 11 Aug 2017 04:26:13 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBX7DWTGAKGQEO3JAY3A@isocpp.org Fri Aug 11 06:26:07 2017
Return-path: <std-proposals+bncBCB4TK757YBRBX7DWTGAKGQEO3JAY3A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f71.google.com ([209.85.215.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB4TK757YBRBX7DWTGAKGQEO3JAY3A@isocpp.org>)
	id 1dg1WL-00030j-T2
	for gclcip-std-proposals@m.gmane.org; Fri, 11 Aug 2017 06:26:01 +0200
Original-Received: by mail-lf0-f71.google.com with SMTP id g25sf4220117lfh.13
        for <gclcip-std-proposals@m.gmane.org>; Thu, 10 Aug 2017 21:26:08 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1502425568; cv=pass;
        d=google.com; s=arc-20160816;
        b=ypN/UmdEpx1DJOjqDTZJ4A4qOdb7bgy8KNJr7AwweDlUw9gvJahbNNiMDSKJ56d89B
         MwFgu9OC7AUTA5oVNL4agPgHQUuFZgDFtWlEF+cw9bDD8TY8j2NT48EsvPVdS3ME6fs7
         dZD6/QxWqeVPR9uv+Td4ZqdI9VKx67vm9hRFbXNJQVB81318BG6bJc2iyLaklm174+xY
         EzaWLkwtqIPFpEdNnV+JKaZeVUTI3+24ZZJoEKtPz1hbqqIAqp/2PyVblp+M2A0jU1ez
         hOJ/3EbUA7Mi13HB9TAoxHeCrJ22Ls/uQz0gFEG5hTIYTn17VxDPvc1fZofRqu93gix7
         2NaA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:mime-version:references
         :in-reply-to:message-id:date:subject:to:from
         :arc-authentication-results:arc-message-signature:dkim-signature
         :arc-authentication-results;
        bh=8apIpWa74HWkedyTC6Z/vVgHMRcnJlU56ghBpShfICk=;
        b=we50RtHIvpzr0KpHj7pBbh1AsKq8b7dJ6moAxU+FZjhfCCr/9Qj87i2D1WlYk7eC+l
         npR38o8pxxhnpPk3jyssNEELamzP96xQr0+TxG37B0KFoJs0NE1GHC+huS2buyc2hKOy
         BX8iJ7A7FK2oO1D4yTBb5KzhW7rQwo+NbdzYwrdIf2VlviHg4t1Bd9RRUmT1RjBDfdav
         ZgXnkrh/qDwy9kZuhSgQ6XcNJ/6yIltAu86hzEV7Zjc2rwm2wg0ka4OXkn54vIYXEiq5
         3FY4L1Dq3Hk6ZJ9YG/7wQAZK+E6yVn/9A6Z8gUZq/m20laphMiCXahpfafVjXjI71e1k
         nMKg==
ARC-Authentication-Results: i=2; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) smtp.mailfrom=thiago@macieira.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:in-reply-to:references:mime-version
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=8apIpWa74HWkedyTC6Z/vVgHMRcnJlU56ghBpShfICk=;
        b=oYc0PBbRoCrCwz2DV6wukdvpcC42NmL1czRdXMLrxZrF72q38lK+tK9t1GYa8Aes0o
         0pcroVRJ0mQEyR058dr+Rd3u9ApnGvhkrFiLGFop83UzK42fYsjLYq88g6pMd2sMamXS
         0xz/c+isuicV0xKIQ1i1wXF5qUWVjXofXp849ZIfpm8RsIPoJvxUxBnxU3FFJuCTYy/N
         uQRGztaClMssfnc9ONTsnrTllk5QDQ9JmLeBmKn32j9qbcUrUpOQD6rZoJfEXt3T+4tp
         Hnn1J9RQwQsnM2SMO8qUwqzCUbHxuZ3zKt/PU5ImRwxDTzVaoTVcfdrA/u20B/XR3AHD
         6WPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to
         :references:mime-version:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=8apIpWa74HWkedyTC6Z/vVgHMRcnJlU56ghBpShfICk=;
        b=PwlpDriD0L/ecg2fbVFwPFEpfxeFOGhPq1MMsaVGYJQmkR/5o0lHiW5q9i/EcKtqp3
         z3/Nr5Ll2UvXmnti/B9ebg4r2cOkAwy7Rp4PPJJpfHAfX8Lr98Cm/uA1iKQTCAlWa8ZB
         e/GcPFfw1aKWswjmMSGSTvQJfBC2VuzpgsOTaQRF95mbbPNSpk4ZebxDCUfUxxldWTtV
         0Pzmgcu7Iwpee5QpTcvVz9dAhrxeQ5Ma/KhCVktTBLrD5cxZcxNUETwMMDkbZup8rdF8
         WMFafzBl9FKjhptmyUAPHz2j+CDcoqPkIsiyrYid3LUywevp9F7EhaM7V8SfDihHrJQ4
         RUjg==
X-Gm-Message-State: AHYfb5hNexIulhtiraTO1tBXP4OjX4RLF8p/NWvCrLR698L6F19h641k
	5S+N2f3zGKE3PEPM
X-Received: by 10.25.18.87 with SMTP id h84mr1488557lfi.40.1502425568168;
        Thu, 10 Aug 2017 21:26:08 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.104.131 with SMTP id d125ls142956wmc.2.canary-gmail; Thu,
 10 Aug 2017 21:26:07 -0700 (PDT)
X-Received: by 10.223.139.154 with SMTP id o26mr11029443wra.178.1502425567011;
        Thu, 10 Aug 2017 21:26:07 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1502425566; cv=none;
        d=google.com; s=arc-20160816;
        b=BdkTeAL53HBGoaQtxJJtf9EHMHebYq+AWwFYioijeaX9hdWbC+jDChGIJl/GLTxhQl
         GOlawtqZxI2kyHBkK6Dr34HXRy6YR2HX5Y6ZN2AGXNy5wD0DA9WIli1djDp4+IggEYMo
         DLxwAVq+dYb+HTKLKNntQGRUvC5Da1+F7/C3A5ybjDwQvxGARy0pSPwNRSQyIRR3oBT0
         CnOKNOOaaXx03QJSLbcEPzm7w9QMraOg6lPhp1DtKQDyKglIM/Ov2FGfpndIX5eDSSXI
         j8sAZigMs8VBKO7ktRPx1jLOiYAlwVK6Qsj2kKJalH7T3XS1FEu/760cRUXM11ybzDZw
         GWNw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:to:from:arc-authentication-results;
        bh=wYrNBviAQccTLlWVBUint79jRXkdZeir6GzYSuwSzyk=;
        b=E6JZk27PSHf1h8Wh5+4c96z6LCbEgn+XOp6fvr6y2L6N7HktZqy+7Xd+Vn+OG66ZvO
         WWNmoyu8VQ4VWnoEWjkRtreRzCiAxpLok+sUR9hYlTgjMxl9sDbaLomg06LrCtCyuMz3
         9KYCzA7dgw8MT0bR74J7oXD61FJpmC1EvDDq+EHzLKWlCaZxGZQ/WL0TqpxfxQOsRXYg
         5xmsDmFSQqiwmVmmTqzimaWTNrOV/DkNPLifQCVcS3d9A7g5iCDxmWJ7dTIhBa7/QVCQ
         5TaUOb5jPVBQxhTnJDzEwS6Fo2nTTCZxYHS+jYlrqrjDjl3PBMqIYeXJ+lq+XQBkoTzc
         Dz0A==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) smtp.mailfrom=thiago@macieira.org
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [78.47.120.188])
        by mx.google.com with ESMTP id a13si6523626wra.509.2017.08.10.21.26.06
        for <std-proposals@isocpp.org>;
        Thu, 10 Aug 2017 21:26:06 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) client-ip=78.47.120.188;
Original-Received: from tjmaciei-mobl1.localnet (unknown [192.55.54.40])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 226CA11B6D9
	for <std-proposals@isocpp.org>; Thu, 10 Aug 2017 21:26:06 -0700 (PDT)
In-Reply-To: <CANh-dXkT8-Znfyi5Wjj0qj7c=-yt5+hLXmgw+bZUUN5QRGRLtg@mail.gmail.com>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) smtp.mailfrom=thiago@macieira.org
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:33815
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/33815>

On quinta-feira, 10 de agosto de 2017 20:41:46 PDT 'Jeffrey Yasskin' via ISO C
++ Standard - Future Proposals wrote:
> SG1 spent a lot of time on that when designing the C++11 threading
> library, and couldn't find a way to make POSIX cancellation fit into
> C++. You're welcome to spend more of your own time thinking about it,
> but there's unlikely to be a fit.

Sorry, I misspoke. We were talking about async-signal safety and I wrote 
"asynchronous cancellation". Asynchronous cancellation is really hard and 
really incompatible with proper exception-safety and unwinding.

I meant the *synchronous* cancellation, which can only happen in functions 
that are clearly specified to be cancellation points.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/2113027.SkxpknQi9z%40tjmaciei-mobl1.

.
