๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#492
From: Michael S
Date: Wed, 28 Oct 2026 20:05
35 lines
3177 bytes
On Wed, 28 Oct 2026 09:08:44 -0000 (UTC)
boltar@caprica.universe wrote:

> On Mon, 26 Oct 2026 22:09:01 +0200
> Michael S <already5chosen@yahoo.com> gabbled:
> >On Mon, 26 Oct 2026 10:01:55 -0000 (UTC)
> >boltar@caprica.universe wrote:  
> >> win32 can't do fork() making it effectively a totally useless API
> >> for a lot of multiprocess development. Creating a brand new
> >> process is fine if you don't need any complicated shared state
> >> such as when kicking off something on the command line or creating
> >> a pipe (something else win32 is shit at) but thats about it.
> >>   
> >
> >You are clueless about Windows. That's o.k.
> >Your pretense that you know something about it is not o.k.
> >In that regard you are not better than LDO.  
> 
> OK, whats the windows API call thats the equivalent of fork()? I'm not
> talking about CreateProcessA() which doesn't even come close.
> 

There is no equivalent for fork(). But nearly all things that Posix
devs achieve by fork() followed by one or another magic incantation and
then followed by exec() can be achived on Windows as well, typically by
means of one or another magic flag in parameters of CreateProcess or
of one of it's more complicated cousins (CreateProcessAsUser,
CreateProcessWithLogon, CreateProcessWithToken, may be others). These
things never fascinated me, so I am not an expert.

Now, there were cases where Unix programmers used fork() without
following it by exec(), but I would think that in the recent 25-30 years
such programming patterns are discouraged in favor of threads.

Technical Details
Message-ID: <20261028220558.000033eb@yahoo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11bgh17$1s8$1@reader2.panix.com> <11bhppd$2lpkc$1@dont-email.me> <11bif5s$2pam0$1@dont-email.me> <11birhe$bfo$1@panix2.panix.com> <11bkeub$2pa9l$1@dont-email.me> <11blrok$10e$1@dont-email.me> <11bn8ej$2s65h$1@dont-email.me> <20261026220901.00005fbd@yahoo.com> <11bse2s$31g12$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
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: Wed, 28 Oct 2026 22:05:58 +0200
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <20261028220558.000033eb@yahoo.com>
References: <11amvre$15far$1@dont-email.me>
	<11bgh17$1s8$1@reader2.panix.com>
	<11bhppd$2lpkc$1@dont-email.me>
	<11bif5s$2pam0$1@dont-email.me>
	<11birhe$bfo$1@panix2.panix.com>
	<11bkeub$2pa9l$1@dont-email.me>
	<11blrok$10e$1@dont-email.me>
	<11bn8ej$2s65h$1@dont-email.me>
	<20261026220901.00005fbd@yahoo.com>
	<11bse2s$31g12$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 28 Oct 2026 20:06:03 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2850255"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+eJYoiwZOaFuLIadcUF/A+cf3+eWgWjUY="; posting-host="3200a54061ecbbbd9ff00ee3880229c4"
Cancel-Lock: sha1:mZyW1JruuedFnXvpirWZgo4qY0w= sha256:k+wNoY+snmmf2h0cO9ZNPPVtvPU8ne3CsOnTiviERo4=
	sha1:6pXYUcWOz05ngpFXfQ6Jnfu1Bn8= sha256:HIIHSIOwvl3d4JOIU2gM9KTN7uOuEQTIrJzplRcQ6T4=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)