Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No package Thread, but tcl_platform(threaded) is true

I've got Tcl8.5 installed (debian package).

I need the Thread library. When I do a package require Thread, it fails to find the package. However, tcl_platform(threaded) is set to true.

Why is this the case? Do I need to grab another package? I have tcllib.

like image 927
Dabo Avatar asked Jan 23 '26 03:01

Dabo


1 Answers

If package require Thread isn't finding the Thread package then it either isn't installed or it is in the wrong place. I think that tcl_platform(threaded) being true just implies that tclsh has been built with threading support and will support the Threads package.

Have a look in the TCL lib directyory for a subdirectory called something like threadx.x.x. If you don't have one then you do need to download the Threads package.

like image 96
Jackson Avatar answered Jan 27 '26 01:01

Jackson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!