Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Ralf Fassel Newsgroups: comp.lang.tcl Subject: Re: Fastest way to run two external processes Date: Mon, 11 May 2026 11:08:06 +0200 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <10sschf$3nvs2$1@dont-email.me> <10ssgq5$3nvs2$2@dont-email.me> <1777510276-13892@newsgrouper.org> <10t1j98$17vgs$1@dont-email.me> <10t4782$1vn4c$1@dont-email.me> <10tn2hc$3in5p$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Mon, 11 May 2026 09:08:06 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1041035"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Mne/L9hQVSDJFK5/9kJ+a"; posting-host="03fac19be6847fddaa2a1278d0ba5aac" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:9weOZyd3JdO8dPt+3/32EevC7yw= sha1:R8DWIjWivVKW8YJtjBaKRziYrmU= sha256:zAkNlB2wE1Rhgi9rXicxNLPkjusOTgmTPAJzL4fB4YU= sha1:EPySQorRkeumjPUiyJsK/TneI00= Xref: csiph.com comp.lang.tcl:55708 * Ashok | Shameless plug... > | Bit late to the topic, but the simplest way to parallelize multiple | processes or threads and wait for completion is promises, if you do | not mind an external package. Bit of a learning curve however. ---- | https://tcl-promise.magicsplat.com/ Ashok, since coroutines are already part of TCL, any chance of getting promises into the core? It would seem to me as a 'natural' addition for async features in TCL, and the package looks quite mature... R'