Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will be held hostage by a radical group.


comp / comp.unix.programmer / Re: OT: Windows (Was: Re: Open Source does not mean easily

SubjectAuthor
* Re: Command Languages Versus Programming LanguagesBozo User
+* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
|`* Re: Command Languages Versus Programming Languagesusuario
| `* Re: Command Languages Versus Programming LanguagesMuttley
|  `* Re: Command Languages Versus Programming Languagesusuario
|   `- Re: Command Languages Versus Programming LanguagesMuttley
`* Re: Command Languages Versus Programming LanguagesRainer Weikusat
 `* Re: Command Languages Versus Programming LanguagesMuttley
  +* Re: Command Languages Versus Programming LanguagesRainer Weikusat
  |+* Re: Command Languages Versus Programming LanguagesMuttley
  ||+* Re: Command Languages Versus Programming LanguagesRainer Weikusat
  |||+* Re: Command Languages Versus Programming LanguagesKaz Kylheku
  ||||`* Re: Command Languages Versus Programming LanguagesRainer Weikusat
  |||| `* Re: Command Languages Versus Programming LanguagesBart
  ||||  `* Re: Command Languages Versus Programming LanguagesRainer Weikusat
  ||||   `* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    +* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |+* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    ||+* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||`* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    ||| `* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||  `* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||   +* Re: Command Languages Versus Programming LanguagesScott Lurndal
  ||||    |||   |`- Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||   `* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||    `* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||     +* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||     |+* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||     ||+- Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||     ||+* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||     |||`* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||     ||| +* Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||     ||| |+* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  ||||    |||     ||| ||`* Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||     ||| || +* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  ||||    |||     ||| || |`- Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||     ||| || `* Re: Command Languages Versus Programming LanguagesNicolas George
  ||||    |||     ||| ||  +* Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||     ||| ||  |`- Re: Command Languages Versus Programming LanguagesNicolas George
  ||||    |||     ||| ||  `* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  ||||    |||     ||| ||   `- Re: Command Languages Versus Programming LanguagesNicolas George
  ||||    |||     ||| |`* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||     ||| | +- Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||     ||| | +* Re: Command Languages Versus Programming LanguagesScott Lurndal
  ||||    |||     ||| | |+- Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||     ||| | |`* Re: Command Languages Versus Programming LanguagesBart
  ||||    |||     ||| | | +- Re: Command Languages Versus Programming LanguagesDavid Brown
  ||||    |||     ||| | | `- Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||     ||| | `- Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  ||||    |||     ||| +* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||     ||| |`* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||     ||| | `* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||     ||| |  `* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||     ||| |   +* Re: Command Languages Versus Programming LanguagesScott Lurndal
  ||||    |||     ||| |   |`* Re: Command Languages Versus Programming LanguagesDavid Brown
  ||||    |||     ||| |   | `- Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||     ||| |   `- Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||     ||| `- Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  ||||    |||     ||`- Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  ||||    |||     |`* Re: Command Languages Versus Programming LanguagesScott Lurndal
  ||||    |||     | `* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||     |  `* Re: Command Languages Versus Programming LanguagesBart
  ||||    |||     |   `* Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |||     |    `* Re: Command Languages Versus Programming LanguagesBart
  ||||    |||     |     `- Re: On overly rigid definitions (was Re: Command Languages Versus Programming LaDan Cross
  ||||    |||     +- Re: Command Languages Versus Programming LanguagesScott Lurndal
  ||||    |||     `* Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||      `* Re: Command Languages Versus Programming LanguagesMuttley
  ||||    |||       `* Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  ||||    |||        `- Re: Command Languages Versus Programming LanguagesMuttley
  ||||    ||`* Re: Command Languages Versus Programming LanguagesKaz Kylheku
  ||||    || +- Re: Command Languages Versus Programming LanguagesBart
  ||||    || `- Re: Command Languages Versus Programming LanguagesDan Cross
  ||||    |`- Re: Command Languages Versus Programming LanguagesScott Lurndal
  ||||    +* Re: Command Languages Versus Programming LanguagesRainer Weikusat
  ||||    |`- Re: Command Languages Versus Programming LanguagesMuttley
  ||||    `* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  ||||     `* Re: Command Languages Versus Programming LanguagesMuttley
  ||||      +* Re: Command Languages Versus Programming LanguagesRainer Weikusat
  ||||      |+* Re: Command Languages Versus Programming LanguagesChristian Weisgerber
  ||||      ||+- Re: Command Languages Versus Programming LanguagesMuttley
  ||||      ||`- Re: Command Languages Versus Programming LanguagesRainer Weikusat
  ||||      |`- Re: Command Languages Versus Programming LanguagesBart
  ||||      `* Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  ||||       `* Re: Command Languages Versus Programming LanguagesMuttley
  ||||        `- Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  |||+* Re: Command Languages Versus Programming LanguagesBart
  ||||`- Re: Command Languages Versus Programming LanguagesRainer Weikusat
  |||`* Re: Command Languages Versus Programming LanguagesMuttley
  ||| `- Re: Command Languages Versus Programming LanguagesRainer Weikusat
  ||`- Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  |`* Re: Command Languages Versus Programming LanguagesEric Pozharski
  | `* Re: Command Languages Versus Programming LanguagesMuttley
  |  +- Re: Command Languages Versus Programming LanguagesJanis Papanagnou
  |  +* Re: Command Languages Versus Programming LanguagesRainer Weikusat
  |  |`* Re: Command Languages Versus Programming LanguagesMuttley
  |  | `* Re: Command Languages Versus Programming LanguagesRainer Weikusat
  |  |  `* Re: Command Languages Versus Programming LanguagesMuttley
  |  |   `* Re: Command Languages Versus Programming LanguagesRainer Weikusat
  |  |    `- Re: Command Languages Versus Programming LanguagesMuttley
  |  `- Re: Command Languages Versus Programming LanguagesLawrence D'Oliveiro
  `* Re: Command Languages Versus Programming LanguagesSebastian

Pages:123456789101112131415
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 02:36 UTC
References: 1 2 3 4 5 6 7
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 02:36:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <vlkoah$2fte8$5@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vlgud7$1mgh5$1@dont-email.me>
<vlh5ag$1nruu$1@dont-email.me> <677c7a1b$0$28501$426a74cc@news.free.fr>
<vljbvv$gl9$1@reader2.panix.com> <677d4e48$0$28053$426a74cc@news.free.fr>
<vljiru$297i9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 08 Jan 2025 03:36:02 +0100 (CET)
Injection-Info: dont-email.me; posting-host="67ccca1858cc5aff82a3cf5e1c442d0d";
logging-data="2618824"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9++SNDbW3rz2BWDRUg3au"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:dQqc/tqnG5Nmh5zeJBjl9NchpCI=
View all headers

On Tue, 7 Jan 2025 15:56:46 -0000 (UTC), Muttley wrote:

> On 07 Jan 2025 15:54:48 GMT Nicolas George <nicolas$george@salle-s.org>
> wibbled:
>
>>I tried, and stopped trying using threads for I/O concurrency.
>
> For some mad reason it seems to be the way to do it in Windows and also
> Java IIRC.

Remember the era: it was the 1990s, when threads were still a new thing to
PC OSes, and they were considered the best way to do everything involving
nondeterminism, including GUIs.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 02:36 UTC
References: 1 2 3 4 5 6 7
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 02:36:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <vlkoc8$2fte8$6@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <1jSeP.17355$jUJ9.3923@fx08.iad>
<vlgud7$1mgh5$1@dont-email.me> <vlh5ag$1nruu$1@dont-email.me>
<677c7a1b$0$28501$426a74cc@news.free.fr> <vli2lj$1t3lt$8@dont-email.me>
<677cecf0$0$511$426a34cc@news.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 08 Jan 2025 03:36:56 +0100 (CET)
Injection-Info: dont-email.me; posting-host="67ccca1858cc5aff82a3cf5e1c442d0d";
logging-data="2618824"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SU88DyG7Tg0pww31zL6Tk"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:ZqrB26k+tx8bnSRlgAvYG4YielU=
View all headers

On 07 Jan 2025 08:59:28 GMT, Nicolas George wrote:

> Lawrence D'Oliveiro , dans le message <vli2lj$1t3lt$8@dont-email.me>, a
> écrit :
>>
>> Linux offers signalfd, so you can indeed use poll(2) in a thread to be
>> woken up by any file descriptor, including a signal one (and that
>> includes POSIX real-time signals).
>
> Proving my point that you need to use poll() even when doing threads.

But you said “it is not possible to poll() on a thread condition”, when it
fact such usage is commonplace, as I pointed out.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Scott Lurndal
Newsgroups: comp.unix.programmer
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 8 Jan 2025 03:23 UTC
References: 1 2 3 4 5 6 7 8
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Newsgroups: comp.unix.programmer
References: <uu54la$3su5b$6@dont-email.me> <1jSeP.17355$jUJ9.3923@fx08.iad> <vlgud7$1mgh5$1@dont-email.me> <vlh5ag$1nruu$1@dont-email.me> <677c7a1b$0$28501$426a74cc@news.free.fr> <vli2lj$1t3lt$8@dont-email.me> <677cecf0$0$511$426a34cc@news.free.fr> <vlkoc8$2fte8$6@dont-email.me>
Lines: 16
Message-ID: <BcmfP.289889$aTp4.50420@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 08 Jan 2025 03:23:13 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 08 Jan 2025 03:23:13 GMT
X-Received-Bytes: 1509
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On 07 Jan 2025 08:59:28 GMT, Nicolas George wrote:
>
>> Lawrence D'Oliveiro , dans le message <vli2lj$1t3lt$8@dont-email.me>, a
>> écrit :
>>>
>>> Linux offers signalfd, so you can indeed use poll(2) in a thread to be
>>> woken up by any file descriptor, including a signal one (and that
>>> includes POSIX real-time signals).
>>
>> Proving my point that you need to use poll() even when doing threads.
>
>But you said “it is not possible to poll() on a thread condition”, when it
>fact such usage is commonplace, as I pointed out.

It is perfectly possible to poll() on a thread condition. See pipe(2).

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Nicolas George
Newsgroups: comp.unix.programmer
Organization: Guest of ProXad - France
Date: Wed, 8 Jan 2025 07:52 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!cleanfeed4-a.proxad.net!nnrp2-2.free.fr!not-for-mail
Newsgroups: comp.unix.programmer
From: nicolas$george@salle-s.org (Nicolas George)
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Sender: george@phare.invalid (Nicolas George)
X-Newsreader: Flrn (0.9.20070704)
References: <uu54la$3su5b$6@dont-email.me> <677c7a1b$0$28501$426a74cc@news.free.fr> <vli2lj$1t3lt$8@dont-email.me> <677cecf0$0$511$426a34cc@news.free.fr> <vlkoc8$2fte8$6@dont-email.me> <BcmfP.289889$aTp4.50420@fx09.iad>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=iso-8859-1
Date: 08 Jan 2025 07:52:24 GMT
Lines: 7
Message-ID: <677e2eb8$0$375$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 08 Jan 2025 08:52:24 CET
NNTP-Posting-Host: 129.199.129.80
X-Trace: 1736322744 news-4.free.fr 375 129.199.129.80:35644
X-Complaints-To: abuse@proxad.net
View all headers

Scott Lurndal, dans le message <BcmfP.289889$aTp4.50420@fx09.iad>, a
écrit :
> It is perfectly possible to poll() on a thread condition. See pipe(2).

It is possible to write code to wake a thread blocked in poll(). I have not
tried to deny this. It is not possible to poll() directly on a thread
condition. You have not disproved that.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 08:20 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 08:20:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <vllcgq$2mphu$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vljg72$28nj0$1@dont-email.me> <vljj7b$g76$1@reader2.panix.com> <vljmc6$29tkd$1@dont-email.me> <vljnns$o9b$1@reader2.panix.com>
Injection-Date: Wed, 08 Jan 2025 09:20:43 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f12364ffe02516948a1481f918c4b22f";
logging-data="2844222"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19A+4WeZ8vQMQW5ipHb4ZQq"
Cancel-Lock: sha1:f4rKTy/LEooHxYmNRjNcJgV6hTA=
View all headers

On Tue, 7 Jan 2025 17:19:56 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) wibbled:
>In article <vljmc6$29tkd$1@dont-email.me>, <Muttley@DastardlyHQ.org> wrote:
>>On Tue, 7 Jan 2025 16:02:51 -0000 (UTC)
>>>In the kernel, it sure is. Unix programmers have been writing
>>>asynchronous programs (using e.g. `fork`) since 1970.
>>
>>Thats not what we're discussion here and you know it.
>
>Actually, it is.

Ah ok, goalposts moved. Why not some straw men while you're at it?

>>>https://git.savannah.gnu.org/cgit/bash.git/tree/sig.c?h=devel#n691
>>
>>Basically sets flags.
>
>Did you actually read and understand any of that code?

Did you?

>>
>>Not a clever way to do it because an xterm and other terminal progs can
>>indirectly cause a whole load of SIGWINCH to be created if someone is
>resizing
>>it and only the final one really needs the ioctl call done. Better to set a
>>flag then manually do a call when appropriate.
>
>Ok. You may even be right! But tell me: where would you check
>those flags?

Presuably a genius like you would know most terminal programs have a seperate
thread or a multiplex timeout in order to flash the cursor. You work out
the rest.

>Regardless, here you are, again, moving the goalposts in the
>face of evidence that contradicted your earlier position.

Irony, love it.

>>There are always exceptions to every rule. You seem to be so desperate to
>>win this argument I can only assume your fragile ego has been burst by
>>someone having the temerity to disagree with you. Tough, suck it up.
>
>Ah, here we go. The classic attempt at an insult.

If the shoe fits.

>Look, you made categorical, definitive statements. Those
>statements were factually incorrect. I pointed that out. You

No, I stated the majority approach to using signals. You disagree which is
fine, but don't pretent your view is THE view, it isn't.

>Perhaps I am not the one with the fragile ego that needs to suck
>it up when disagreed with.

Ego size on usenet is almost always correlated with the verbiage of a reply.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 08:23 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 08:23:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <vllcml$2mqb8$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vljiml$296n5$1@dont-email.me> <vljjmf$g76$2@reader2.panix.com> <vljmlt$29vt3$1@dont-email.me> <vljntl$o9b$2@reader2.panix.com>
Injection-Date: Wed, 08 Jan 2025 09:23:49 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f12364ffe02516948a1481f918c4b22f";
logging-data="2845032"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/reVkoS5yyR/+m6LAd4Zhf"
Cancel-Lock: sha1:lWLuhe30W+C0J9ZjB1TwA4bqwP4=
View all headers

On Tue, 7 Jan 2025 17:23:01 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) wibbled:
>In article <vljmlt$29vt3$1@dont-email.me>, <Muttley@DastardlyHQ.org> wrote:
>>On Tue, 7 Jan 2025 16:10:55 -0000 (UTC)
>>cross@spitfire.i.gajendra.net (Dan Cross) wibbled:
>>Nope, I like my relative anonymity here and I don't need to prove anything to
>>some twat with a chip on his shoulder getting worked up over technical trivia.
>
>
>Ok. So we're just supposed to take your word for it, I guess.
>Got it.

In one.

>>Believe what you like, I couldn't give a rats arse.
>
>You also have no evidence to back up your claims, it seems.

Plenty of evidence out there.

>>Am I supposed to be impressed?
>
>*shrug* I think my credentials speak for themselves. I really
>don't care whether you're impressed or not.

What credentials? You work for some neverheardofit software house and have
mostly done a load of forks of other peoples code. Standard dev stuff, nothing
special.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 08:26 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 08:26:06 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <vllcqu$2mqud$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vlioum$24bqm$1@dont-email.me> <vljcq9$sis$1@reader2.panix.com> <vGbfP.54357$XfF8.7280@fx04.iad> <vljodp$o9b$3@reader2.panix.com> <5_efP.855910$bYV2.379113@fx17.iad>
Injection-Date: Wed, 08 Jan 2025 09:26:07 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f12364ffe02516948a1481f918c4b22f";
logging-data="2845645"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183V7j8m89TmCk4gyOP35DW"
Cancel-Lock: sha1:w9jEIj6JKPh+ECP7iZzKnvrojMU=
View all headers

On Tue, 07 Jan 2025 19:09:53 GMT
scott@slp53.sl.home (Scott Lurndal) wibbled:
>cross@spitfire.i.gajendra.net (Dan Cross) writes:
>>In article <vGbfP.54357$XfF8.7280@fx04.iad>,
>>Scott Lurndal <slp53@pacbell.net> wrote:
>>>cross@spitfire.i.gajendra.net (Dan Cross) writes:
>>>>In article <vlioum$24bqm$1@dont-email.me>, <Muttley@DastardlyHQ.org> wrote:
>
>
>>>Applications in those days (e.g. fsck) would access the
>>>raw character device using the unbuffered read() and
>>>write() system calls rather than using stdio. A key
>>>characteristic of raw devices were that the hardware DMA would
>>>use the application buffer directly rather than copying
>>>the data to the kernel buffer pool first.
>>
>>They still do!
>
>Well, not on linux. Even O_DIRECT still goes through
>the file cache, last I checked.
>
>I submitted a 'raw device' patch to the linux mailing
>list in the late 90s while at SGI. It wasn't accepted because
>O_DIRECT was considered sufficient, even with the spurious
>copy. The overhead of pinning the user space pages was
>considered onerous.

I vaguely remember Oracle complaining about this back in the day meaning
they couldn't guarantee their RDBMS transaction writes on Linux. Not sure
if or when it was solved.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 08:27 UTC
References: 1 2 3 4 5 6 7 8
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 08:27:45 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <vllcu1$2mrao$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vlgud7$1mgh5$1@dont-email.me>
<vlh5ag$1nruu$1@dont-email.me> <677c7a1b$0$28501$426a74cc@news.free.fr>
<vljbvv$gl9$1@reader2.panix.com> <677d4e48$0$28053$426a74cc@news.free.fr>
<vljiru$297i9$1@dont-email.me>
<vlkoah$2fte8$5@dont-email.me>
Injection-Date: Wed, 08 Jan 2025 09:27:46 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f12364ffe02516948a1481f918c4b22f";
logging-data="2846040"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//7l6f7Fla8LC6yTNQodyq"
Cancel-Lock: sha1:hPFXRdvSGl0qrZrzggeoHKeRS5w=
View all headers

On Wed, 8 Jan 2025 02:36:01 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>On Tue, 7 Jan 2025 15:56:46 -0000 (UTC), Muttley wrote:
>
>> On 07 Jan 2025 15:54:48 GMT Nicolas George <nicolas$george@salle-s.org>
>> wibbled:
>>
>>>I tried, and stopped trying using threads for I/O concurrency.
>>
>> For some mad reason it seems to be the way to do it in Windows and also
>> Java IIRC.
>
>Remember the era: it was the 1990s, when threads were still a new thing to
>PC OSes, and they were considered the best way to do everything involving
>nondeterminism, including GUIs.

Unfortunately there are still far to many programmers around for whom threads
are their go to hammer no matter what problem they're trying to solve.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Dan Cross
Newsgroups: comp.unix.programmer
Organization: PANIX Public Access Internet and UNIX, NYC
Date: Wed, 8 Jan 2025 12:19 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 12:19:13 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <vllqg1$sn6$1@reader2.panix.com>
References: <uu54la$3su5b$6@dont-email.me> <vljmlt$29vt3$1@dont-email.me> <vljntl$o9b$2@reader2.panix.com> <vllcml$2mqb8$1@dont-email.me>
Injection-Date: Wed, 8 Jan 2025 12:19:13 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="29414"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
View all headers

In article <vllcml$2mqb8$1@dont-email.me>, <Muttley@DastardlyHQ.org> wrote:
>On Tue, 7 Jan 2025 17:23:01 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) wibbled:
>>In article <vljmlt$29vt3$1@dont-email.me>, <Muttley@DastardlyHQ.org> wrote:
>>>On Tue, 7 Jan 2025 16:10:55 -0000 (UTC)
>>>cross@spitfire.i.gajendra.net (Dan Cross) wibbled:
>>>Nope, I like my relative anonymity here and I don't need to prove anything to
>>>some twat with a chip on his shoulder getting worked up over technical trivia.
>>
>>
>>Ok. So we're just supposed to take your word for it, I guess.
>>Got it.
>
>In one.
>
>>>Believe what you like, I couldn't give a rats arse.
>>
>>You also have no evidence to back up your claims, it seems.
>
>Plenty of evidence out there.

Plenty of contradictory evidence, you mean.

>>>Am I supposed to be impressed?
>>
>>*shrug* I think my credentials speak for themselves. I really
>>don't care whether you're impressed or not.
>
>What credentials? You work for some neverheardofit software house and have
>mostly done a load of forks of other peoples code. Standard dev stuff, nothing
>special.

Yeah, ok, sure.

- Dan C.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Dan Cross
Newsgroups: comp.unix.programmer
Organization: PANIX Public Access Internet and UNIX, NYC
Date: Wed, 8 Jan 2025 12:21 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 12:21:59 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <vllql7$sn6$2@reader2.panix.com>
References: <uu54la$3su5b$6@dont-email.me> <vlkoc8$2fte8$6@dont-email.me> <BcmfP.289889$aTp4.50420@fx09.iad> <677e2eb8$0$375$426a34cc@news.free.fr>
Injection-Date: Wed, 8 Jan 2025 12:21:59 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="29414"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
View all headers

In article <677e2eb8$0$375$426a34cc@news.free.fr>,
Nicolas George <nicolas$george@salle-s.org> wrote:
>Scott Lurndal, dans le message <BcmfP.289889$aTp4.50420@fx09.iad>, a
> �crit�:
>> It is perfectly possible to poll() on a thread condition. See pipe(2).
>
>It is possible to write code to wake a thread blocked in poll(). I have not
>tried to deny this. It is not possible to poll() directly on a thread
>condition. You have not disproved that.

I think it's important to define what you mean when you write,
"thread condition." What, exactly, is that? Perhaps you mean
a condition variable? If so, that's true, but I fail to see
the relevance: people write multithreaded code that does IO in
multiple all the time; there are some techniques that are common
for this (Scott alluded to the so-called "pipe trick", due to
Bernstein) and some that are less common. It may be harder or
easier depending on which techniques you employ, but it's all
doable.

- Dan C.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Dan Cross
Newsgroups: comp.unix.programmer
Organization: PANIX Public Access Internet and UNIX, NYC
Date: Wed, 8 Jan 2025 13:00 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 13:00:01 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <vllssh$kjk$1@reader2.panix.com>
References: <uu54la$3su5b$6@dont-email.me> <vljmc6$29tkd$1@dont-email.me> <vljnns$o9b$1@reader2.panix.com> <vllcgq$2mphu$1@dont-email.me>
Injection-Date: Wed, 8 Jan 2025 13:00:01 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="21108"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
View all headers

In article <vllcgq$2mphu$1@dont-email.me>, <Muttley@DastardlyHQ.org> wrote:
>On Tue, 7 Jan 2025 17:19:56 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) wibbled:
>>In article <vljmc6$29tkd$1@dont-email.me>, <Muttley@DastardlyHQ.org> wrote:
>>>On Tue, 7 Jan 2025 16:02:51 -0000 (UTC)
>>>>In the kernel, it sure is. Unix programmers have been writing
>>>>asynchronous programs (using e.g. `fork`) since 1970.
>>>
>>>Thats not what we're discussion here and you know it.
>>
>>Actually, it is.
>
>Ah ok, goalposts moved. Why not some straw men while you're at it?
>
>>>>https://git.savannah.gnu.org/cgit/bash.git/tree/sig.c?h=devel#n691
>>>
>>>Basically sets flags.
>>
>>Did you actually read and understand any of that code?
>
>Did you?

Yes. I see that the call chains invoked from that handler wind
up calling things like `malloc`. I guess you couldn't read the
code well enough to see that for yourself.

>>>Not a clever way to do it because an xterm and other terminal progs can
>>>indirectly cause a whole load of SIGWINCH to be created if someone is
>>resizing
>>>it and only the final one really needs the ioctl call done. Better to set a
>>>flag then manually do a call when appropriate.
>>
>>Ok. You may even be right! But tell me: where would you check
>>those flags?
>
>Presuably a genius like you would know most terminal programs have a seperate
>thread or a multiplex timeout in order to flash the cursor. You work out
>the rest.

Right, handwave away those very real concerns. We're talking
about Unix here, not code running on some microcontroller; code
might be sitting in some tight loop doing computation for
arbitrarily long.

>>Regardless, here you are, again, moving the goalposts in the
>>face of evidence that contradicted your earlier position.
>
>Irony, love it.
>
>>>There are always exceptions to every rule. You seem to be so desperate to
>>>win this argument I can only assume your fragile ego has been burst by
>>>someone having the temerity to disagree with you. Tough, suck it up.
>>
>>Ah, here we go. The classic attempt at an insult.
>
>If the shoe fits.
>
>>Look, you made categorical, definitive statements. Those
>>statements were factually incorrect. I pointed that out. You
>
>No, I stated the majority approach to using signals. You disagree which is
>fine, but don't pretent your view is THE view, it isn't.

Bluntly, I don't see any evidence that you are qualified enough
to make any statement regarding the "majority approach" to,
well, just about anything related to the domain, let alone the
industry writ large. On the other hand, despite you assuring us
that we should just take your word for it that you're some kind
of expert, I see plenty of evidence in the form of factually
incorrect statements to conclude that you don't know what you're
about generally.

In other words, no, I'm not just taking your word for it, but
instead trusting the evidence before me.

>>Perhaps I am not the one with the fragile ego that needs to suck
>>it up when disagreed with.
>
>Ego size on usenet is almost always correlated with the verbiage of a reply.

I'm not the one who started with dishing out insults at the
first person who disagreed with me.

Feel free to have the last word, but absent some actually
technical point, I'm done with you.

- Dan C.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 13:36 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 13:36:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <vllv1h$2q4q4$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vljmlt$29vt3$1@dont-email.me> <vljntl$o9b$2@reader2.panix.com> <vllcml$2mqb8$1@dont-email.me> <vllqg1$sn6$1@reader2.panix.com>
Injection-Date: Wed, 08 Jan 2025 14:36:50 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f12364ffe02516948a1481f918c4b22f";
logging-data="2954052"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AR/H7ApIMUle8CeLMV6Th"
Cancel-Lock: sha1:YWmntBUNKW60XkGsK5QxuCFl5r8=
View all headers

On Wed, 8 Jan 2025 12:19:13 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) wibbled:
>In article <vllcml$2mqb8$1@dont-email.me>, <Muttley@DastardlyHQ.org> wrote:
>>On Tue, 7 Jan 2025 17:23:01 -0000 (UTC)
>>>You also have no evidence to back up your claims, it seems.
>>
>>Plenty of evidence out there.
>
>Plenty of contradictory evidence, you mean.

Probably for both methods.

>>What credentials? You work for some neverheardofit software house and have
>>mostly done a load of forks of other peoples code. Standard dev stuff, nothing
>
>>special.
>
>Yeah, ok, sure.

Hacking other peoples code doesn't impress me. They've done all the hard work.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 13:40 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 13:40:40 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <vllv8o$2q6fa$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vljmc6$29tkd$1@dont-email.me> <vljnns$o9b$1@reader2.panix.com> <vllcgq$2mphu$1@dont-email.me> <vllssh$kjk$1@reader2.panix.com>
Injection-Date: Wed, 08 Jan 2025 14:40:40 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f12364ffe02516948a1481f918c4b22f";
logging-data="2955754"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VEjgK/9BlihVbaEKqYOaR"
Cancel-Lock: sha1:D0GeJk1KjjjM/wNTfQ76b6YaOCc=
View all headers

On Wed, 8 Jan 2025 13:00:01 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) wibbled:
>In article <vllcgq$2mphu$1@dont-email.me>, <Muttley@DastardlyHQ.org> wrote:
>>On Tue, 7 Jan 2025 17:19:56 -0000 (UTC)
>>Presuably a genius like you would know most terminal programs have a seperate
>>thread or a multiplex timeout in order to flash the cursor. You work out
>>the rest.
>
>Right, handwave away those very real concerns. We're talking
>about Unix here, not code running on some microcontroller; code

Oops, awkward fact avoided eh? :)

And you don't think microcontrollers can run linux with X on top?

>>No, I stated the majority approach to using signals. You disagree which is
>>fine, but don't pretent your view is THE view, it isn't.
>
>Bluntly, I don't see any evidence that you are qualified enough
>to make any statement regarding the "majority approach" to,

I don't need to prove myself to argue with some random troll on a newsgroup.
If you can't handle that thats your problem, not mine.

>>Ego size on usenet is almost always correlated with the verbiage of a reply.
>
>I'm not the one who started with dishing out insults at the
>first person who disagreed with me.

Define insult. However here's one: you're clearly a thin skinned snowflake.

>Feel free to have the last word, but absent some actually
>technical point, I'm done with you.

Suits me mate.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Nicolas George
Newsgroups: comp.unix.programmer
Organization: Guest of ProXad - France
Date: Wed, 8 Jan 2025 14:01 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed4-a.proxad.net!nnrp5-1.free.fr!not-for-mail
Newsgroups: comp.unix.programmer
From: nicolas$george@salle-s.org (Nicolas George)
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Sender: george@phare.invalid (Nicolas George)
X-Newsreader: Flrn (0.9.20070704)
References: <uu54la$3su5b$6@dont-email.me> <vlkoc8$2fte8$6@dont-email.me> <BcmfP.289889$aTp4.50420@fx09.iad> <677e2eb8$0$375$426a34cc@news.free.fr> <vllql7$sn6$2@reader2.panix.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=utf-8
Date: 08 Jan 2025 14:01:07 GMT
Lines: 22
Message-ID: <677e8523$0$28061$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 08 Jan 2025 15:01:07 CET
NNTP-Posting-Host: 129.199.129.80
X-Trace: 1736344867 news-4.free.fr 28061 129.199.129.80:40898
X-Complaints-To: abuse@proxad.net
View all headers

Dan Cross, dans le message <vllql7$sn6$2@reader2.panix.com>, a écrit :
> I think it's important to define what you mean when you write,
> "thread condition." What, exactly, is that? Perhaps you mean
> a condition variable?

Yes, of course that is what “thread condition” means in the context of a
discussion about POSIX threads.

> If so, that's true, but I fail to see
> the relevance: people write multithreaded code that does IO in
> multiple all the time; there are some techniques that are common
> for this (Scott alluded to the so-called "pipe trick", due to
> Bernstein) and some that are less common.

Yes: there are some techniques that are common to implement I/O concurrency
and that work in the context of threads. You are arguing my point for me:
the threads did not make implementing the I/O concurrency simpler; quite the
opposite it they made them harder, as proven by the fact that “techniques”
had to be deployed.

POSIX threads do not make I/O concurrency easier, they are not made for
that, they are for performance.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Dan Cross
Newsgroups: comp.unix.programmer
Organization: PANIX Public Access Internet and UNIX, NYC
Date: Wed, 8 Jan 2025 14:41 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 14:41:22 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <vlm2qi$fqs$1@reader2.panix.com>
References: <uu54la$3su5b$6@dont-email.me> <677e2eb8$0$375$426a34cc@news.free.fr> <vllql7$sn6$2@reader2.panix.com> <677e8523$0$28061$426a34cc@news.free.fr>
Injection-Date: Wed, 8 Jan 2025 14:41:22 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="16220"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
View all headers

In article <677e8523$0$28061$426a34cc@news.free.fr>,
Nicolas George <nicolas$george@salle-s.org> wrote:
>Dan Cross, dans le message <vllql7$sn6$2@reader2.panix.com>, a écrit :
>> I think it's important to define what you mean when you write,
>> "thread condition." What, exactly, is that? Perhaps you mean
>> a condition variable?
>
>Yes, of course that is what “thread condition” means in the context of a
>discussion about POSIX threads.

Not really. A condition variable is a synchronization
primitive; it is not inherently an attribute of a thread. When
one phrases it as "thread condition" one gives the impression
that one is talking about some aspect of the thread itself, such
as its state, or the "condition" that it is in, in a similar way
that one might talk about the condition of a patient in a
doctor's office.

As always, in computing, it's better to be precise.

>> If so, that's true, but I fail to see
>> the relevance: people write multithreaded code that does IO in
>> multiple all the time; there are some techniques that are common
>> for this (Scott alluded to the so-called "pipe trick", due to
>> Bernstein) and some that are less common.
>
>Yes: there are some techniques that are common to implement I/O concurrency
>and that work in the context of threads. You are arguing my point for me:
>the threads did not make implementing the I/O concurrency simpler; quite the
>opposite it they made them harder, as proven by the fact that “techniques”
>had to be deployed.

That's a silly argument. "Techniques" had to be developed for
literally all of this stuff.

Moreover, things like the self pipe trick are independent of
threads. That's a "technique" for avoiding races between signal
delivery and "select" etc. That it can be usefully employed in
a threaded context doesn't say much either for or against
threads.

>POSIX threads do not make I/O concurrency easier, they are not made for
>that, they are for performance.

This is a specious statement that is not backed up by evidence
and is trivially false (two threads can execute blocking "write"
calls on two file descriptors concurrently).

The assertion that POSIX threads are for "performance" deserves
some citation. POSIX threads might enable one to write parallel
code, thus facilitating higher performance than single-threaded
code, or they might not, depending on the implementation and the
host computer (e.g., if executed on a uniprocessor machine).

Fundamentally, threads are about having multiple control flows
that execute concurrently in a single address space. That's it,
really.

- Dan C.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 15:05 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 15:05:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <vlm47g$2r4lh$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vlkoc8$2fte8$6@dont-email.me> <BcmfP.289889$aTp4.50420@fx09.iad> <677e2eb8$0$375$426a34cc@news.free.fr> <vllql7$sn6$2@reader2.panix.com> <677e8523$0$28061$426a34cc@news.free.fr>
Injection-Date: Wed, 08 Jan 2025 16:05:21 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f12364ffe02516948a1481f918c4b22f";
logging-data="2986673"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+El1mVXt8X/Df9k595NFmB"
Cancel-Lock: sha1:li2suqiCHvJNugekSHyncNQhp10=
View all headers

On 08 Jan 2025 14:01:07 GMT
Nicolas George <nicolas$george@salle-s.org> wibbled:
>Dan Cross, dans le message <vllql7$sn6$2@reader2.panix.com>, a écrit :
>> I think it's important to define what you mean when you write,
>> "thread condition." What, exactly, is that? Perhaps you mean
>> a condition variable?
>
>Yes, of course that is what “thread condition” means in the context of a
>discussion about POSIX threads.

No, they're called condition variables, not thread conditions which implies
something rather different. Surely an experienced genius like you would know
that.

>POSIX threads do not make I/O concurrency easier, they are not made for
>that, they are for performance.

Not really. They're made for multitasking in situations where multiplexing
would be too complicated or impossible and multiprocess would be overkill or
too resource intensive. On a single core CPU using threads could actually slow
a program down compared to using a single thread.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Scott Lurndal
Newsgroups: comp.unix.programmer
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 8 Jan 2025 16:05 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Newsgroups: comp.unix.programmer
References: <uu54la$3su5b$6@dont-email.me> <vljmc6$29tkd$1@dont-email.me> <vljnns$o9b$1@reader2.panix.com> <vllcgq$2mphu$1@dont-email.me> <vllssh$kjk$1@reader2.panix.com> <vllv8o$2q6fa$1@dont-email.me>
Lines: 10
Message-ID: <ZmxfP.284330$Uup4.225209@fx10.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 08 Jan 2025 16:05:13 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 08 Jan 2025 16:05:13 GMT
X-Received-Bytes: 1083
View all headers

Muttley@DastardlyHQ.org writes:
>On Wed, 8 Jan 2025 13:00:01 -0000 (UTC)

>
>I don't need to prove myself to argue with some random troll on a newsgroup.
>If you can't handle that thats your problem, not mine.

Look in the mirror, nameless troll.

Dan is well known and respected in the Unix world. You, not so much.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Tim Rentsch
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 17:55 UTC
References: 1 2 3 4 5 6 7
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: tr.17687@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 08 Jan 2025 09:55:28 -0800
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <861pxd9omn.fsf@linuxsc.com>
References: <uu54la$3su5b$6@dont-email.me> <vljmc6$29tkd$1@dont-email.me> <vljnns$o9b$1@reader2.panix.com> <vllcgq$2mphu$1@dont-email.me> <vllssh$kjk$1@reader2.panix.com> <vllv8o$2q6fa$1@dont-email.me> <ZmxfP.284330$Uup4.225209@fx10.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Wed, 08 Jan 2025 18:55:31 +0100 (CET)
Injection-Info: dont-email.me; posting-host="6e19b66cb0c542b6b8c649f7413a0cd9";
logging-data="3046654"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xO4zeJQMdbCxKZFhN2tF6FZNBq9DtG8s="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:CTCCwSvpnLBFP2qjOGRyfQsJoCE=
sha1:ZvUC46JHf9yAILE3LdDQ9aYpZbI=
View all headers

scott@slp53.sl.home (Scott Lurndal) writes:

> Muttley@DastardlyHQ.org writes:
>
>> On Wed, 8 Jan 2025 13:00:01 -0000 (UTC)
>> [...]
>> I don't need to prove myself to argue with some random troll on a
>> newsgroup. If you can't handle that thats your problem, not mine.
>
> Look in the mirror, nameless troll. [...]

If you wouldn't mind a question, I'm wondering why you continue
to take the bait.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Dan Cross
Newsgroups: comp.unix.programmer
Organization: PANIX Public Access Internet and UNIX, NYC
Date: Wed, 8 Jan 2025 18:38 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 18:38:27 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <vlmgn3$kov$1@reader2.panix.com>
References: <uu54la$3su5b$6@dont-email.me> <vllssh$kjk$1@reader2.panix.com> <vllv8o$2q6fa$1@dont-email.me> <ZmxfP.284330$Uup4.225209@fx10.iad>
Injection-Date: Wed, 8 Jan 2025 18:38:27 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="21279"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
View all headers

In article <ZmxfP.284330$Uup4.225209@fx10.iad>,
Scott Lurndal <slp53@pacbell.net> wrote:
>Dan is well known and respected in the Unix world. You, not so much.

Thank you, Scott.

- Dan C.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Kaz Kylheku
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 8 Jan 2025 20:27 UTC
References: 1 2 3 4 5 6
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 8 Jan 2025 20:27:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <20250108120258.577@kylheku.com>
References: <uu54la$3su5b$6@dont-email.me> <vljmc6$29tkd$1@dont-email.me>
<vljnns$o9b$1@reader2.panix.com> <vllcgq$2mphu$1@dont-email.me>
<vllssh$kjk$1@reader2.panix.com> <vllv8o$2q6fa$1@dont-email.me>
Injection-Date: Wed, 08 Jan 2025 21:27:55 +0100 (CET)
Injection-Info: dont-email.me; posting-host="7c07aa7b95d4c7911fad39a96dea9131";
logging-data="3105938"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cbBVffRkBzZE6ya2mdQUmzkTbvDnF3QY="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:rDAm0LxU7rLLX3f+s6ruy/pyxuM=
View all headers

On 2025-01-08, Muttley@DastardlyHQ.org <Muttley@DastardlyHQ.org> wrote:
> I don't need to prove myself to argue with some random troll on a newsgroup.
> If you can't handle that thats your problem, not mine.

I have to say, that's pretty tone deaf, as a reply to Dan Cross.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Thu, 9 Jan 2025 04:39 UTC
References: 1 2 3 4 5 6 7
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Thu, 9 Jan 2025 04:39:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <vlnju6$37a2m$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vlioum$24bqm$1@dont-email.me>
<vljcq9$sis$1@reader2.panix.com> <vGbfP.54357$XfF8.7280@fx04.iad>
<vljodp$o9b$3@reader2.panix.com> <5_efP.855910$bYV2.379113@fx17.iad>
<vllcqu$2mqud$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 09 Jan 2025 05:39:35 +0100 (CET)
Injection-Info: dont-email.me; posting-host="01b330cd4a4331e5ce119fefca27a53e";
logging-data="3385430"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2ZSY4JgvvnEjdi6X6d/Cc"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:R+1xO46c6R075pVdTv/ooNt6dm4=
View all headers

On Wed, 8 Jan 2025 08:26:06 -0000 (UTC), Muttley wrote:

> I vaguely remember Oracle complaining about this back in the day meaning
> they couldn't guarantee their RDBMS transaction writes on Linux.

Blame the hard drive vendors for putting stupid caches on their drives.
It’s not a Linux-specific problem.

Subject: Re: OT: Windows
From: Salvador Mirzo
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Fri, 10 Jan 2025 01:27 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: smirzo@example.com (Salvador Mirzo)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows
Date: Thu, 09 Jan 2025 22:27:46 -0300
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <87h6671mr1.fsf@example.com>
References: <uu54la$3su5b$6@dont-email.me>
<wwvh66p9ntv.fsf@LkoBDZeT.terraraq.uk>
<vkmjos$284i0$1@news.xmission.com> <86wmflc83k.fsf@example.com>
<vkncr9$3suk2$1@dont-email.me> <vkne4c$3t9p2$1@dont-email.me>
<vknes1$3tgb8$1@dont-email.me> <vknfo3$3tlrt$1@dont-email.me>
<vkpkn3$ga7s$1@dont-email.me>
<slrnvn33ai.btv.apple.universe@freight.zombinet>
<vks674$14lgi$1@dont-email.me> <vl5jdp$38s8m$1@dont-email.me>
<0azdP.296066$DYF8.131534@fx14.iad> <vl7bf3$3j0kk$1@dont-email.me>
<1PVdP.468818$oR74.302907@fx16.iad> <vlb1j3$dolo$1@dont-email.me>
<87frlyrf2e.fsf_-_@example.com> <vlcbpg$l1os$8@dont-email.me>
<87msg6cjh0.fsf@example.com> <vlckqn$mcpa$11@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 10 Jan 2025 02:27:46 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f08cb4c811bd7bae2f8ba6f828eb07f5";
logging-data="3819031"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Ltp+5uEkfP7cp/+CAooEZU+NauuTabts="
Cancel-Lock: sha1:XGr7wwBMgQw5NLI+eavkCAAgd2w=
sha1:W/Bj0MINZs37mf/ERx4jrv0i2Ig=
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:

> On Sat, 04 Jan 2025 19:17:15 -0300, Salvador Mirzo wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>
>>> Windows NT was masterminded by Dave Cutler ...
>>
>> Is that Dave with a YouTube channel?
>
> No, that’s a different former Microsoftie, but he has had Cutler on his
> channel for an extended interview.
>
> I found it ironic that there was a PiDP-11, I think it was, placed within
> arm’s reach behind the guy during the entire interview. You know, the
> PDP-11 emulator that runs on a Linux-based Raspberry Pi. I wonder if the
> Unix-hater ever noticed that ...

LOL. Can you find a link to this interview? Sounded very interesting.

--
Thanks!

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 15 Jan 2025 16:46 UTC
References: 1 2 3 4 5 6 7
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 15 Jan 2025 16:46:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <vm8opf$31a32$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vljmc6$29tkd$1@dont-email.me> <vljnns$o9b$1@reader2.panix.com> <vllcgq$2mphu$1@dont-email.me> <vllssh$kjk$1@reader2.panix.com> <vllv8o$2q6fa$1@dont-email.me> <ZmxfP.284330$Uup4.225209@fx10.iad>
Injection-Date: Wed, 15 Jan 2025 17:46:39 +0100 (CET)
Injection-Info: dont-email.me; posting-host="50fafaaf989260132a6b62e5dee9861c";
logging-data="3188834"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1915PB2xkGpLxtR57Wdnfve"
Cancel-Lock: sha1:1iSWMhLpnODtVSfpkiv2cvqnlFA=
View all headers

On Wed, 08 Jan 2025 16:05:13 GMT
scott@slp53.sl.home (Scott Lurndal) wibbled:
>Muttley@DastardlyHQ.org writes:
>>On Wed, 8 Jan 2025 13:00:01 -0000 (UTC)
>
>>
>>I don't need to prove myself to argue with some random troll on a newsgroup.
>>If you can't handle that thats your problem, not mine.
>
>Look in the mirror, nameless troll.

The usual "i don't agree with you so you must be a troll" attitude.

>
>Dan is well known and respected in the Unix world. You, not so much.

Is he? Never heard of him until recently. What exactly has he done thats
so impressive? His github certainly gives no clue. Lots of forks of other
peoples stuff. BFD.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 15 Jan 2025 16:47 UTC
References: 1 2 3 4 5 6 7
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 15 Jan 2025 16:47:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <vm8or9$31acu$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <vljmc6$29tkd$1@dont-email.me>
<vljnns$o9b$1@reader2.panix.com> <vllcgq$2mphu$1@dont-email.me>
<vllssh$kjk$1@reader2.panix.com> <vllv8o$2q6fa$1@dont-email.me>
<20250108120258.577@kylheku.com>
Injection-Date: Wed, 15 Jan 2025 17:47:38 +0100 (CET)
Injection-Info: dont-email.me; posting-host="50fafaaf989260132a6b62e5dee9861c";
logging-data="3189150"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+12kAdNRnoyx+j2weA+8Ek"
Cancel-Lock: sha1:H8eoRyvA00hlhRL/JCwUSYYOFUc=
View all headers

On Wed, 8 Jan 2025 20:27:54 -0000 (UTC)
Kaz Kylheku <643-408-1753@kylheku.com> wibbled:
>On 2025-01-08, Muttley@DastardlyHQ.org <Muttley@DastardlyHQ.org> wrote:
>> I don't need to prove myself to argue with some random troll on a newsgroup.
>> If you can't handle that thats your problem, not mine.
>
>I have to say, that's pretty tone deaf, as a reply to Dan Cross.

Sorry if I don't hero worship like you. If I think someone's talking bollocks
then I'll call it out.

Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
From: Kaz Kylheku
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Wed, 15 Jan 2025 20:20 UTC
References: 1 2 3 4 5 6 7 8
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.programmer
Subject: Re: OT: Windows (Was: Re: Open Source does not mean easily
Date: Wed, 15 Jan 2025 20:20:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <20250115121722.103@kylheku.com>
References: <uu54la$3su5b$6@dont-email.me> <vljmc6$29tkd$1@dont-email.me>
<vljnns$o9b$1@reader2.panix.com> <vllcgq$2mphu$1@dont-email.me>
<vllssh$kjk$1@reader2.panix.com> <vllv8o$2q6fa$1@dont-email.me>
<ZmxfP.284330$Uup4.225209@fx10.iad> <vm8opf$31a32$1@dont-email.me>
Injection-Date: Wed, 15 Jan 2025 21:20:45 +0100 (CET)
Injection-Info: dont-email.me; posting-host="3a20774213740ab96a51eedd1b4dd575";
logging-data="3254928"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iDaxz579Jb/YLluGlvUNF4veEgYwY2Oo="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:SLKMVFZ/swnNg17Td6CjIp6uRNg=
View all headers

On 2025-01-15, Muttley@DastardlyHQ.org <Muttley@DastardlyHQ.org> wrote:
> The usual "i don't agree with you so you must be a troll" attitude.

Rather, it is this accusation that is an extremely common trope.
Rarely is it true.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Pages:123456789101112131415

rocksolid light 0.9.8
clearnet tor