On 10/31/2026 2:38 AM, bolt…@caprica.universe wrote:
> On Fri, 30 Oct 2026 20:37:14 +0100
> Jeroen Belleman <jero…@nospam.please> gabbled:
>> On 10/30/26 17:07, bolt…@caprica.universe wrote:
>>> On Fri, 30 Oct 2026 11:25:01 -0000 (UTC)
>>> cro…@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>> In article <2026…@yahoo.com>,
>>>> Michael S <alre…@yahoo.com> wrote:
>>>>>> Only if you intended to close the TTY the programs were started
>>>>>> on. Otherwise, I don't see why it would be necessary:
>>>>>
>>>>> What happens when caller is GUI-style application?
>>>>
>>>> That depends on a number of factors, but basically, "it does the
>>>> same thing". Why would it be any different?
>>>
>>> Windows treats GUI apps entirely differently to console ones so a Windows
>>> dev might not appreciate that on unix there is no demarcation - a GUI app
>>> simply has a network connection to the X server and it can either sit in
>>> an event loop waiting for events - as per a windows main thread - or go do
>>> other things and periodically check the X event list.
>>>
>>
>> That's where threads are useful: The GUI is one thread, and the "other things" are in one or more other threads. There are altogether too many
>> programs that hang the GUI while "other things" are going on. That
>> should never happen!
>
> If its multithreaded but that still happens someone probably has created too
> many critical sections with too many locks.
>
What do you mean? Is the GUI deadlocking?