Deutsch   English   Français   Italiano  
<66fc8c11$0$716$14726298@news.sunsite.dk>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!weretis.net!feeder8.news.weretis.net!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 1 Oct 2024 19:56:01 -0400
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Apache + mod_php performance
Newsgroups: comp.os.vms
References: <vcv0bl$39mnj$1@dont-email.me> <vd1lgd$dbq$1@reader1.panix.com>
 <vd1u8j$3qqpg$1@dont-email.me> <vd7hbi$tgu3$2@dont-email.me>
 <66f8183e$0$715$14726298@news.sunsite.dk>
 <66f8a44c$0$716$14726298@news.sunsite.dk> <vda9tl$1facd$1@dont-email.me>
 <vdaala$1es94$1@dont-email.me> <vdab8a$1facd$7@dont-email.me>
 <vdbp7k$1pg2p$1@dont-email.me> <vdcm06$1tmdr$2@dont-email.me>
 <vdcn50$1tq3t$1@dont-email.me> <vdcom4$1tmdr$13@dont-email.me>
 <vdcpri$1tq3s$1@dont-email.me> <vdcufi$1unhf$2@dont-email.me>
 <vdcvmo$1tq3s$3@dont-email.me> <vdcvu7$1utjr$1@dont-email.me>
 <vdd0kl$1tq3t$2@dont-email.me> <vdd0th$22qgt$1@dont-email.me>
 <vdd2mr$1tq3s$4@dont-email.me> <vdd553$23amd$1@dont-email.me>
 <66fb394e$0$717$14726298@news.sunsite.dk> <vdfffi$2ec8o$1@dont-email.me>
 <66fb4377$0$717$14726298@news.sunsite.dk> <vdfgfu$2ec8o$4@dont-email.me>
 <vdfgtl$2drhq$1@dont-email.me> <vdfjmb$2ep6c$3@dont-email.me>
 <vdfkfd$2drhp$1@dont-email.me> <vdgp60$2nh73$1@dont-email.me>
 <66fc89ed$0$716$14726298@news.sunsite.dk>
Content-Language: en-US
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
In-Reply-To: <66fc89ed$0$716$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 44
Message-ID: <66fc8c11$0$716$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 6bb90de2.news.sunsite.dk
X-Trace: 1727826961 news.sunsite.dk 716 arne@vajhoej.dk/68.14.27.188:49514
X-Complaints-To: staff@sunsite.dk
Bytes: 3282

On 10/1/2024 7:46 PM, Arne Vajhøj wrote:
> On 10/1/2024 8:16 AM, Simon Clubley wrote:
>> On 2024-09-30, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 9/30/2024 9:36 PM, Lawrence D'Oliveiro wrote:
>>>> On Mon, 30 Sep 2024 20:48:53 -0400, Arne Vajhøj wrote:
>>>>> The world is moving from forking processes to starting threads.
>>>>
>>>> That was tried in the 1990s -- threads for everything, even 
>>>> multithreaded
>>>> GUIs. It was soon discovered that was not a great idea.
>>>
>>> Practically all GUI's are multi-threaded.
>>>
>>
>> No. The GUIs I know of (GTK, Android, etc) are all single threaded and 
>> any
>> other threads which need to use the GUI need to queue a request on the 
>> GUI
>> thread.

> I am used to Java Swing and .NET WinForms where event thread is not
> main thread.
> 
> But I guess it sort of makes sense to combine them. Main thread
> usually doesn't do anything after kicking of the GUI stuff.
> 
> But any time one need to do anything time consuming in the GUI
> then it needs to be done in its own thread but GUI updates
> need to be done by the GUI thread.

But I assume that the typical GTK application does use many threads.

If I look at Windows GUI applications that also runs on Linux then I see:

FireFox (just 1 tab open) - 96 threads
ThunderBird - 72 threads
LibreOffice - 22 threads

Is it different on Linux?

Arne