From: Mo D. <md...@cy...> - 2000-08-13 01:51:11
|
I am reading these docs about "Thread 2.0". http://dev.scriptics.com/doc/howto/thread_model.html That seems to imply I should be able to do a "package require Tcl 2.0", but when I do that I get this error: % package require Thread 2.0 version conflict for package "Thread": have 1.0, need 2.0 ( I am running this with "make runtest" by the way ) The only place this seems to be defined is in tclThreadTest.c: int TclThread_Init(interp) Tcl_Interp *interp; /* The current Tcl interpreter */ { Tcl_CreateObjCommand(interp,"testthread", Tcl_ThreadObjCmd, (ClientData)NULL ,NULL); if (Tcl_PkgProvide(interp, "Thread", "1.0" ) != TCL_OK) { return TCL_ERROR; } return TCL_OK; } When I run this in "normal" tclsh, I get this error: % package require Thread can't find package Thread Am I just missing something here? How can I detect if Tcl 8.3 was compiled with the --enable-thread option? Mo DeJong Red Hat Inc -- The TclCore mailing list is sponsored by Ajuba Solutions To unsubscribe: email tcl...@aj... with the word UNSUBSCRIBE as the subject. |