๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #351

Re: โ€œThe end of software secrecy is almost upon

#351
From: Dan Cross
Date: Sun, 25 Oct 2026 13:32
46 lines
2723 bytes
In article <20261025084234.0000449c@yahoo.com>,
Michael S  <already5chosen@yahoo.com> wrote:
>On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) wrote:
>> In article <20261025011151.000038ef@yahoo.com>,
>> Michael S  <already5chosen@yahoo.com> wrote:
>> >[snip]
>> >Second, while in theory threads can be implemented by C++
>> >compilers+language  support library, in practice I had never seen it
>> >done.  
>> 
>> This is not saying much about anything aside from the countours
>> of your own experience, I'm afraid.

(This statement remains true.)

>[snip history showing a long line of "OS Threads" implemented
> as a library]
>
>How any of this trivia has anything to do with real-world
>implementations of C++11 threads?

Your statement, "while in theory threads can be implemented by
C++ compilers+language support library, in practice I had never
seen it done" is probably strictly true: you, individually, have
never seen it done.

But that does not imply that it has never been done.  In
fact, it has; many times over.  There are complications, but it
can be done.  That is what I was telling you, supported by
examples.

The thread models adopted by both C and C++ are based on all of
that prior art.

>I mentioned that in one of my earlier responses to boltar.
>However there exist situation in which system() is not a satisfactory
>replacement for spawn(), most often because overhead of launching shell
>sometimes matters.

Let me reiterate the questions above: what do you think that a
thread is?  What do you think that a process is?  And let me add
to that, what do you think that a "shell" is?

	- Dan C.
Technical Details
Message-ID: <11bl0e6$68c$1@reader2.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
References: <11amvre$15far$1@dont-email.me> <20261025011151.000038ef@yahoo.com> <11bjif3$7p0$1@reader2.panix.com> <20261025084234.0000449c@yahoo.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: โ€œThe end of software secrecy is almost upon
Date: Sun, 25 Oct 2026 13:32:54 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <11bl0e6$68c$1@reader2.panix.com>
References: <11amvre$15far$1@dont-email.me> <20261025011151.000038ef@yahoo.com> <11bjif3$7p0$1@reader2.panix.com> <20261025084234.0000449c@yahoo.com>
Injection-Date: Sun, 25 Oct 2026 13:32:54 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
	logging-data="6412"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)