220 29648 <ce31396d-dcc8-410a-a1a9-444bd1beca80@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: implementation of asynchronous simultaneous threads
Date: Sun, 4 Dec 2016 07:20:56 -0800 (PST)
Lines: 79
Approved: news@gmane.org
Message-ID: <ce31396d-dcc8-410a-a1a9-444bd1beca80@isocpp.org>
References: <ccdf80b7-833c-40e9-96af-6eb7b36d8214@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1169_357000811.1480864856711"
X-Trace: blaine.gmane.org 1480864859 18378 195.159.176.226 (4 Dec 2016 15:20:59 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 4 Dec 2016 15:20:59 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBWPISDBAKGQECZXKG6Q@isocpp.org Sun Dec 04 16:20:55 2016
Return-path: <std-proposals+bncBCEKFTV6ZUMBBWPISDBAKGQECZXKG6Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pg0-f69.google.com ([74.125.83.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBWPISDBAKGQECZXKG6Q@isocpp.org>)
	id 1cDYb0-0003yf-Ot
	for gclcip-std-proposals@m.gmane.org; Sun, 04 Dec 2016 16:20:54 +0100
Original-Received: by mail-pg0-f69.google.com with SMTP id g186sf303730225pgc.2
        for <gclcip-std-proposals@m.gmane.org>; Sun, 04 Dec 2016 07:20:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=9U2BgFfZmNW4B6vgXBXIiMOinLqcSxvuBH97uLnTrjY=;
        b=z5LomSwLppci8S5pdvm6Dbs/HIHRUT+1xG1z9z/HZJwIeA/FR6M6Ya8BG4khJwTDTb
         JTFWerKY+snjO8I80JaphDtWxo4UUzwntoHgr9YXbTTKPr5yzQPdhxkLbG+GxMWW8msh
         9p19YcXTxvVVUnf3jydO2p1NYEXd99VRUjz+XpUx/jBAQunFWkASeP/0qcV8+F+U8Lis
         QvbmA7L7tIrcXn3VwHQ6oK2DVGC3PfJXAw5C/HWGi/ujZHse1ebRsrmdytKTjBRpKZD8
         gANOC7D1jxRwqKv4koZxPpv6rSA7EfVHd4h1xwdNoATjWcr3AJ2/cXylID2nIRvNhPVc
         vwfA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=9U2BgFfZmNW4B6vgXBXIiMOinLqcSxvuBH97uLnTrjY=;
        b=GGebEk2xkAQNhOyRZ0+U0kXqy9FGCYIEjaNKIJ5tn9nbgurZqF5Ff6g5JJfRhqlnSs
         a13OOJ37ChHa2DR4d8bOCcoDL1sxUcfL89u3b1BtSaB7aVHXKMa9ReDFVg6hPvEImksc
         hmES5/x9zh/QytMjjLHuE/Q6dOsgqFlKZTCQUtZtZMCDvJnDvzCH5elWOY5F6z49pb4I
         L+gdTKECRWZ+Pn5WyeqvZAS4SsO/HtP0rpPKo2RKweSE3s9RpGNhFloC264ESzcrtRU6
         8MmejEEKn9LxgHCHxuEyE++FRJxlZe7YCQ4npbpuUSj+Q6ZHV9r6Ml266yxiIBDGD7O7
         Smsg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=9U2BgFfZmNW4B6vgXBXIiMOinLqcSxvuBH97uLnTrjY=;
        b=K3vgDC1f4rcnNZRDlvcXVXAqSsgxhWO6XZ5I2bCoIzk90B2wh6rbMNi9K5Ow19kjAW
         6MW5kAqylU9Oynsq2vSZ1mqoTA/RO8XI7/DjREYyMF8FN158Jxh6CtbaGmjqeecHNwv1
         89GMLBIbfRkPC/hJNA94PlJqitdmyetjHdux/wc9UbJPot3Jq9x4oOlEdt0VI4HtugW9
         iCE1T0V5gsTeG/QUTD4jyJQ1NZgvOBE92c/D5mEisX/K+7EIGyekfqL6d9GiGoEFHwE0
         0t/zE6ILEeTCDPiUkWlI7ZQoUY2b69n6VjVr+/hH2GBSCOmsW1bEvPaNrhwUvJNbsWvv
         LkIw==
X-Gm-Message-State: AKaTC01zu57z0FM4rLXbJfJrIEGTkOJuos7CfQ3weng/UHTYLZMOKk3pZBZC+h0Lnj8glg==
X-Received: by 10.99.173.12 with SMTP id g12mr27919862pgf.39.1480864858209;
        Sun, 04 Dec 2016 07:20:58 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.40.91 with SMTP id h27ls22783661otd.44.gmail; Sun, 04 Dec
 2016 07:20:57 -0800 (PST)
X-Received: by 10.157.63.164 with SMTP id r33mr3535961otc.10.1480864857157;
        Sun, 04 Dec 2016 07:20:57 -0800 (PST)
In-Reply-To: <ccdf80b7-833c-40e9-96af-6eb7b36d8214@isocpp.org>
X-Original-Sender: jmckesson@gmail.com
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:29648
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29648>

------=_Part_1169_357000811.1480864856711
Content-Type: multipart/alternative; 
	boundary="----=_Part_1170_761217756.1480864856711"

------=_Part_1170_761217756.1480864856711
Content-Type: text/plain; charset=UTF-8

On Sunday, December 4, 2016 at 4:08:58 AM UTC-5, kushal bhattacharya wrote:
>
> hi,
> I don't know wether the library i am finding exists or not.I have doing 
> quite a lot of research regarding the appropriate library to be used in my 
> scenario.So i am asking you guys whether there is any library out there or 
> it is to be added.The thing is i have one infinite loop and this loop runs 
> on each thread.I dont want threads to wait for the infinite loop to 
> complete.What i do want is they should run simultaneouly and i can out data 
> present in each infinite loops within each thread if processed 
> simultaneously.How could i acheive that if any library supports my desired 
> architechture.If theres any pleaser do present me a sample code.Sorry for 
> the inconvenience caused .I am not much experienced in c++.
> Thanks,
> Kushal
>

I'm not sure what this has to do with a proposal for C++. We already have a 
perfectly adequate threading library which can execute threads 
simultaneously. What you want is perfectly achievable in C++11.

But this isn't a forum for debugging your code.

-- 
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/ce31396d-dcc8-410a-a1a9-444bd1beca80%40isocpp.org.

------=_Part_1170_761217756.1480864856711
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Sunday, December 4, 2016 at 4:08:58 AM UTC-5, kushal bh=
attacharya wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"l=
tr">hi,<br>I don&#39;t know wether the library i am finding exists or not.I=
 have doing quite a lot of research regarding the appropriate library to be=
 used in my scenario.So i am asking you guys whether there is any library o=
ut there or it is to be added.The thing is i have one infinite loop and thi=
s loop runs on each thread.I dont want threads to wait for the infinite loo=
p to complete.What i do want is they should run simultaneouly and i can out=
 data present in each infinite loops within each thread if processed simult=
aneously.How could i acheive that if any library supports my desired archit=
echture.If theres any pleaser do present me a sample code.Sorry for the inc=
onvenience caused .I am not much experienced in c++.<br>Thanks,<br>Kushal<b=
r></div></blockquote><div><br>I&#39;m not sure what this has to do with a p=
roposal for C++. We already have a perfectly adequate threading library whi=
ch can execute threads simultaneously. What you want is perfectly achievabl=
e in C++11.<br><br>But this isn&#39;t a forum for debugging your code.<br><=
/div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/ce31396d-dcc8-410a-a1a9-444bd1beca80%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/ce31396d-dcc8-410a-a1a9-444bd1beca80=
%40isocpp.org</a>.<br />

------=_Part_1170_761217756.1480864856711--

------=_Part_1169_357000811.1480864856711--

.
