[Info-vax] Apache + mod_php performance
Lawrence D'Oliveiro
ldo at nz.invalid
Tue Oct 1 22:21:05 EDT 2024
On Tue, 1 Oct 2024 20:50:30 -0400, Arne Vajhøj wrote:
> On 10/1/2024 8:46 PM, Lawrence D'Oliveiro wrote:
>>
>> On Tue, 1 Oct 2024 19:46:53 -0400, Arne Vajhøj wrote:
>>>
>>> But any time one need to do anything time consuming in the GUI then it
>>> needs to be done in its own thread ...
>>
>> Note that “cpu-intensive” and “time-consuming” are not synonymous.
>> Something can take a long time to complete, but not require much CPU
>> time during that time, so running it in the main thread would be fine
>> and have minimal impact.
>
> But how do you keep the GUI responsive if the event/main loop is doing
> something that is time consuming??
The task waiting for the operation to complete blocks on a notification
back from the event loop that it can proceed.
More information about the Info-vax
mailing list