Re: Callin tcl procs in parallel
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Callin tcl procs in parallel

From: Gerald W. Lester <Gerald.Lester@cox.net>
Date: Thu Jun 30 2005 - 05:45:23 CEST

Rush wrote:
> Hi Arjen,
> thanks for the pointers
>
> 1. Use a threads-enabled version of Tcl
> - cant use it as i dont have Thread package and installing it wont
> help as the users might not have that package as well

Install/deliver it with your script.

> 2. Start a separate Tcl shell that executes the procedure
> - cant use it as I cant call proc from shell

Write a little wrapper script that calls the proc and run the wrapper.

-- 
+--------------------------------+---------------------------------------+
| Gerald W. Lester               | "The man who fights for his ideals is |
| Gerald.Lester@cox.net          |  the man who is alive." -- Cervantes  |
+--------------------------------+---------------------------------------+
Received on Thu Sep 29 14:23:57 2005