thread package
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

thread package

From: nicolas <sl1200mk2@gmail.com>
Date: Sun Oct 30 2005 - 15:41:53 CET

hi there,
please, can someone answer these questions:

i got the [thread::id] of my main thread like this tid0xa000b2a4

if i create a thread2 with pthread, i create an interpreter in this
thread2, i make a "package require Thread" in the thread2, i evaluate
the following code to send result of calcul in the main /thread
interpreter:
thread::send -async tid0xa000b2a4 [list puts 1]

where am i wrong, because i don't get any results.

many thanks for any answer,
best regards

nicolas
Received on Mon Nov 21 00:37:14 2005