220 29646 <CA+wfc1-WE7=i+nkuGhU0vok0mvY7USa99iUTZd0Q0tLFdckc+w@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Oliver Kowalke <oliver.kowalke@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: implementation of asynchronous simultaneous threads
Date: Sun, 4 Dec 2016 13:03:03 +0100
Lines: 79
Approved: news@gmane.org
Message-ID: <CA+wfc1-WE7=i+nkuGhU0vok0mvY7USa99iUTZd0Q0tLFdckc+w@mail.gmail.com>
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/alternative; boundary=001a114ab092493b4f0542d3f5c1
X-Trace: blaine.gmane.org 1480853007 12024 195.159.176.226 (4 Dec 2016 12:03:27 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 4 Dec 2016 12:03:27 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCLZHP5J7MHRBDMMSDBAKGQE76QMKHA@isocpp.org Sun Dec 04 13:03:23 2016
Return-path: <std-proposals+bncBCLZHP5J7MHRBDMMSDBAKGQE76QMKHA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw0-f198.google.com ([209.85.161.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCLZHP5J7MHRBDMMSDBAKGQE76QMKHA@isocpp.org>)
	id 1cDVVq-0002R4-Kr
	for gclcip-std-proposals@m.gmane.org; Sun, 04 Dec 2016 13:03:22 +0100
Original-Received: by mail-yw0-f198.google.com with SMTP id r204sf342945883ywb.0
        for <gclcip-std-proposals@m.gmane.org>; Sun, 04 Dec 2016 04:03:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :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=ttEbnJ+OCYSUZkSowhAh8YM81CJZjtOXH5oLavWiyPQ=;
        b=xz3AG7t8TSHxQNBv/JXgyjtNZnlg6kXdc/BnQRYQQyXfgcZREEJ7csF/a1m/PBRDcd
         X6xFt38lDXjwepyQ6PIQNohjBrYtpKJqsxBQQUuecn6lB+r37nkbw7IrZa8Ufs6FvVIq
         yY/a+LFDQyFCQbqdkHeq9cn6/4ZN9GbPAumi8CcTN/f3Bfv0O/b9dTIB3TDcoU8LkaZ1
         VOrRbw06XuGzJN6MnMbx7oLW70RQrv/9FAUb8F/5URuWqnfl+FyxfQnwsIHKZfu7OgUE
         pSoj9ty0uFkQtqfCnrFiuAGUBwdWIEeLh3LxzCDURWJI+peSXNt+0kR+0f1MxvqTYjAN
         2R1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to: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=ttEbnJ+OCYSUZkSowhAh8YM81CJZjtOXH5oLavWiyPQ=;
        b=WSJVuJoLQMFckaKg9dpX2vVXN4KPvj4TxYtaQHWFhRDo16h0O6AV6YtLsUV0p5KIiT
         mVU5sabYX1rG+VysosR92kNLn/tDXiUD9h7BKIWruDyn5j8wPIykdXlDbzq7JiYT0Z2K
         IV5l38+iVx4iDwN93GR4OIN2R5BdPFbuLZOVbyTzatvAeOlNqx74PKygmN9csIVVqGuM
         V6iB55Ok48lN+AtvBkyrSPk/TdY+Jkg5ldldhJY+8Mqf2cohv6721h5GbWEKKuaqyknX
         D69uknXrvJC1gq34tqgKdVJlPb4DC4RF0r4p+OwEXSlBvHvAAGU1LQ+Yx18+W+ZuUJ5M
         Kl1Q==
X-Gm-Message-State: AKaTC02Wghrmp8YI0IOLzVpp9T7pVfc+nyIL/kVNlsbz113tDb3C3lQR2th/DFAesinz6Q==
X-Received: by 10.129.75.148 with SMTP id y142mr4737508ywa.141.1480853006286;
        Sun, 04 Dec 2016 04:03:26 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.142.132 with SMTP id q126ls6972068iod.15.gmail; Sun, 04
 Dec 2016 04:03:24 -0800 (PST)
X-Received: by 10.107.162.132 with SMTP id l126mr46834438ioe.37.1480853004812;
        Sun, 04 Dec 2016 04:03:24 -0800 (PST)
Original-Received: from mail-io0-x233.google.com (mail-io0-x233.google.com. [2607:f8b0:4001:c06::233])
        by mx.google.com with ESMTPS id n18si6793493itn.92.2016.12.04.04.03.24
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 04 Dec 2016 04:03:24 -0800 (PST)
Received-SPF: pass (google.com: domain of oliver.kowalke@gmail.com designates 2607:f8b0:4001:c06::233 as permitted sender) client-ip=2607:f8b0:4001:c06::233;
Original-Received: by mail-io0-x233.google.com with SMTP id m5so416666606ioe.3
        for <std-proposals@isocpp.org>; Sun, 04 Dec 2016 04:03:24 -0800 (PST)
X-Received: by 10.36.117.138 with SMTP id y132mr4026228itc.42.1480853004301;
 Sun, 04 Dec 2016 04:03:24 -0800 (PST)
Original-Received: by 10.64.101.8 with HTTP; Sun, 4 Dec 2016 04:03:03 -0800 (PST)
In-Reply-To: <ccdf80b7-833c-40e9-96af-6eb7b36d8214@isocpp.org>
X-Original-Sender: oliver.kowalke@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 oliver.kowalke@gmail.com designates 2607:f8b0:4001:c06::233 as permitted
 sender) smtp.mailfrom=oliver.kowalke@gmail.com;       dmarc=pass (p=NONE
 dis=NONE) header.from=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:29646
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29646>

--001a114ab092493b4f0542d3f5c1
Content-Type: text/plain; charset=UTF-8

2016-12-04 10:08 GMT+01:00 <bhattacharya.kushal4@gmail.com>:

> 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
>

For instance boost.fiber (
http://www.boost.org/doc/libs/1_62_0/libs/fiber/doc/html/index.html) or
synca (https://github.com/gridem/Synca) might be useful - both are based on
boost.context (-> P0099R1 proposal is derived from this library).
Oliver

-- 
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/CA%2Bwfc1-WE7%3Di%2BnkuGhU0vok0mvY7USa99iUTZd0Q0tLFdckc%2Bw%40mail.gmail.com.

--001a114ab092493b4f0542d3f5c1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">2016-12-04 10:08 GMT+01:00  <span dir=3D"ltr">&lt;<a href=3D"mailto:bha=
ttacharya.kushal4@gmail.com" target=3D"_blank">bhattacharya.kushal4@gmail.c=
om</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di=
v dir=3D"ltr">hi,<br>I don&#39;t know wether the library i am finding exist=
s or not.I have doing quite a lot of research regarding the appropriate lib=
rary 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 lo=
op and this loop runs on each thread.I dont want threads to wait for the in=
finite 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 proces=
sed simultaneously.How could i acheive that if any library supports my desi=
red architechture.If theres any pleaser do present me a sample code.Sorry f=
or the inconvenience caused .I am not much experienced in c++.<br>Thanks,<b=
r>Kushal<span class=3D"gmail-HOEnZb"></span><br></div></blockquote></div><b=
r></div><div class=3D"gmail_extra">For instance boost.fiber (<a href=3D"htt=
p://www.boost.org/doc/libs/1_62_0/libs/fiber/doc/html/index.html">http://ww=
w.boost.org/doc/libs/1_62_0/libs/fiber/doc/html/index.html</a>) or synca (<=
a href=3D"https://github.com/gridem/Synca">https://github.com/gridem/Synca<=
/a>) might be useful - both are based on boost.context (-&gt; P0099R1 propo=
sal is derived from this library).<br></div><div class=3D"gmail_extra">Oliv=
er<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/CA%2Bwfc1-WE7%3Di%2BnkuGhU0vok0mvY7US=
a99iUTZd0Q0tLFdckc%2Bw%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfoo=
ter">https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CA%2Bwfc1=
-WE7%3Di%2BnkuGhU0vok0mvY7USa99iUTZd0Q0tLFdckc%2Bw%40mail.gmail.com</a>.<br=
 />

--001a114ab092493b4f0542d3f5c1--

.
