Topic: implementation of asynchronous simultaneous threads
Author: bhattacharya.kushal4@gmail.com
Date: Sun, 4 Dec 2016 01:08:58 -0800 (PST)
Raw View
------=_Part_3057_838602536.1480842538107
Content-Type: multipart/alternative;
boundary="----=_Part_3058_1977189078.1480842538107"
------=_Part_3058_1977189078.1480842538107
Content-Type: text/plain; charset=UTF-8
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
--
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/ccdf80b7-833c-40e9-96af-6eb7b36d8214%40isocpp.org.
------=_Part_3058_1977189078.1480842538107
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">hi,<br>I don't know wether the library i am finding ex=
ists 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 pro=
cessed simultaneously.How could i acheive that if any library supports my d=
esired architechture.If theres any pleaser do present me a sample code.Sorr=
y for the inconvenience caused .I am not much experienced in c++.<br>Thanks=
,<br>Kushal<br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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/ccdf80b7-833c-40e9-96af-6eb7b36d8214%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/ccdf80b7-833c-40e9-96af-6eb7b36d8214=
%40isocpp.org</a>.<br />
------=_Part_3058_1977189078.1480842538107--
------=_Part_3057_838602536.1480842538107--
.
Author: Oliver Kowalke <oliver.kowalke@gmail.com>
Date: Sun, 4 Dec 2016 13:03:03 +0100
Raw View
--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"><<a href=3D"mailto:bha=
ttacharya.kushal4@gmail.com" target=3D"_blank">bhattacharya.kushal4@gmail.c=
om</a>></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'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 (-> 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" 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--
.
Author: Nicol Bolas <jmckesson@gmail.com>
Date: Sun, 4 Dec 2016 07:20:56 -0800 (PST)
Raw View
------=_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'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'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'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" 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--
.