Deutsch   English   Français   Italiano  
<vqcudn$346r4$1@dont-email.me>

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

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Rich <rich@example.invalid>
Newsgroups: comp.lang.tcl
Subject: Re: GUI is non-responsive during a long database interaction
Date: Thu, 6 Mar 2025 19:52:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <vqcudn$346r4$1@dont-email.me>
References: <vqcmt3$32s62$1@dont-email.me>
Injection-Date: Thu, 06 Mar 2025 20:52:24 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f51515c8f32f77cba34c1daf5b15c121";
	logging-data="3283812"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/d8wW1eQ6+uGn+PSUCjzrM"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:RM4J6Wf2PHeXPXrgCkdVmy8pw6w=
Bytes: 1346

Alan Grunwald <nospam.nurdglaw@gmail.com> wrote:
> In the meantime, I tried to execute the database interaction in a 
> separate thread (?) by running it as an [after idle] script but this 
> didn't have the desired effect

An after idle script is not a "separate thread", as you've now 
discovered.

For real threads, use the 'thread' extension:

https://www.tcl-lang.org/man/tcl/ThreadCmd/thread.htm