Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-19
02:48 • Ticket [218321ffff] libtcl8.2.so is not "thread enabled" status st... artifact: 0f05135c08 user: dgp
2001-04-18
06:39 • Ticket [218321ffff]: 4 changes artifact: fa499293ef user: dgp
2000-10-26
08:19 • Closed ticket [218321ffff]. artifact: eda28e4d19 user: welch
00:56 • New ticket [218321ffff]. artifact: dc33066b25 user: nobody

libtcl8.2.so is not "thread enabled"

Closed / Fixed218321ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:56:08
OriginalBugID: 3828 Bug
Version: 1.3
SubmitDate: '1999-12-09'
LastModified: '1999-12-09'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Solaris
OSVersion: Solaris (SunOS 5.6)
Machine: Sparc Station 5, Ultra 5 & Ultra 10
FixedDate: '2000-10-25'
ClosedDate: '1999-12-09'


Name:
LAUMOND Marc

ReproducibleScript:
parray tcl_platform
=> there is no "tcl_platform(threaded) = 1" element

=> The libtcl.8.2.so library included in the TclPro1.3 binary package is not compiled with the "--enable-threads" option.

ObservedBehavior:
I develop a reentrant Tcl extension wich makes use of several threads to handle with some external events. This Tcl extension is likely to be used in multi-threaded processes, each thread possibly having one or more Tcl_Interp. Each event has to be queued in the Tcl_EventQueue of the thread associated to the target Tcl_Interp.
With the current libtcl8.2.so of TclPro, it is not possible to have a good behaviour for Tcl_ThreadAlert(), Tcl_ThreadQueueEvent() or Tcl_GetCurrentThread()...

WORKAROUND: I use a libtcl8.2.so library built from the public tcl/tk sources and compiled with the "--enable-threads" option.

DesiredBehavior:
parray tcl_platform 
=> tcl_platform(thraeded) = 1



This is not a bug, the TclPro build is not intended to be built
with threads.  If the user purchases the system, we will provide
binaries, or the user can roll their own, as mentioned in the
work-around.  Threads are not default, because most people would
not want them, and it won't work with Tk on Unix systems. 
-- 12/09/1999 hobbs
welch Closed ticket [218321ffff]. [History diff]2000-10-26 08:19:01
dgp Ticket [218321ffff]: 4 changes [History diff]2001-04-18 06:39:58
dgp Ticket [218321ffff]: 4 changes [History diff]2001-04-19 02:48:44
Log in (anonymous is fine) to add a comment.