Sujet : Re: Ported my proxy collector...
De : chris.m.thomasson.1 (at) *nospam* gmail.com (Chris M. Thomasson)
Groupes : comp.lang.c++Date : 17. Sep 2024, 19:46:36
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vcciqc$3lb34$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 9/17/2024 12:38 AM,
Muttley@dastardlyhq.com wrote:
On Mon, 16 Sep 2024 16:08:51 -0700
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> boringly babbled:
Any thoughts?
Yes:
1)
Few people have time to examine 400 lines of C++ code on a newsgroup.
True. I was just wondering if somebody got really, really bored with absolutely nothing to do, well, perhaps take a look? ;^)
Btw, even though it compiles for me, I forgot to include the <functional> header wrt std::ref. But, it still compiles for me. Shit happens. :^)
2)
The amount of intellectual energy spent on creating code to protect
threads from themselves and other threads justifies my position on using
them as a last resort and to use multi process** for any seperated parallel
tasks.
Well, yeah. One should __always__ _strive_ for embarrassingly parallel for sure. No sync needed because everything is independent. This is the ideal scenario indeed.
** Cue usual post from Bonita demonstrating he doesn't understand
multiprocessing or how fork() works.
;^)